[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] [5] Avoid storing threads in trace-buffer
From: |
felix . winkelmann |
Subject: |
[Chicken-hackers] [PATCH] [5] Avoid storing threads in trace-buffer |
Date: |
Sat, 28 Oct 2017 21:01:15 +0200 |
This is intended to fix #1356: threads may be retained too long in the trace
buffer, because some sort of method is required to extract the call chain
for a specific thread (multiple threads can create entries in the trace buffer
and thus must be distinguished).
Now a thread has an additional slot with a unique ID, which is stored in
the trace buffer instead of the thread itself. Peter suggested a gensym,
but this patch uses a pair, which is (slightly) cheaper and doesn't bump the
gensym counter.
felix
0001-Add-identity-slot-to-thread-and-use-this-for-disting.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-hackers] [PATCH] [5] Avoid storing threads in trace-buffer,
felix . winkelmann <=