[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] [5] Avoid storing threads in trace-buffer
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] [5] Avoid storing threads in trace-buffer |
Date: |
Fri, 3 Nov 2017 20:08:14 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Sat, Oct 28, 2017 at 09:01:15PM +0200, address@hidden wrote:
> 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.
Looks good to me, pushed!
Cheers,
Peter
signature.asc
Description: PGP signature
- Re: [Chicken-hackers] [PATCH] [5] Avoid storing threads in trace-buffer,
Peter Bex <=