Panicz Maciej Godek <[email protected]> skribis:

> I've noticed that when a thread is asleep and (gc) or scm_gc() is called,
> it gets awoken. It can be demonstrated with the following example:
>
>> (call-with-new-thread
>     (lambda()
>       (while #t
>         (display "tick!\n")
>         (sleep 5)))) ;; <= this is 5 seconds!
>
>> (gc)
> tick! ;; this happens immediately after each call to gc!

I can’t reproduce it with current ‘stable-2.0’ and ‘master’, on
x86_64-linux-gnu, with libgc 7.2alpha6 (which is ancient).

Could you provide more info about your system and dependency versions?

TIA,
Ludo’.



Reply via email to