[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1356: trace buffer unnecessarily holds on to thr
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1356: trace buffer unnecessarily holds on to thread objects |
Date: |
Fri, 27 Oct 2017 19:30:00 -0000 |
#1356: trace buffer unnecessarily holds on to thread objects
-----------------------------------+--------------------
Reporter: kristianlm | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 5.0
Component: unknown | Version: 4.12.0
Resolution: | Keywords:
Estimated difficulty: medium |
-----------------------------------+--------------------
Comment (by felix):
Ugh. No, let's not make the GC responsible for that as well, it already
has enough special cases as it is.
I think we agree that no user code uses the thread, and we only use it for
identity checking. Why not simply add a fixnum id to each thread and use
that for identifcation, fed by a global continuously increasing counter?
--
Ticket URL: <https://bugs.call-cc.org/ticket/1356#comment:10>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.