bug-guile
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
bug#14511: Unexpected behaviour of scm_gc+sleep/usleep in another thread
From
:
Panicz Maciej Godek
Subject
:
bug#14511: Unexpected behaviour of scm_gc+sleep/usleep in another thread
Date
:
Thu, 30 May 2013 13:06:51 +0200
Hi,
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!
This behaviour is both unexpected and undocumented, so I consider it a bug.
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
bug#14511: Unexpected behaviour of scm_gc+sleep/usleep in another thread
,
Panicz Maciej Godek
<=
Prev by Date:
bug#14404: regexp_exec thread-unsafe
Next by Date:
bug#14482: Macro not able to see a function
Previous by thread:
bug#14482: Macro not able to see a function
Next by thread:
bug#14235: Grammar error on http://www.gnu.org/software/guile/developers.html
Index(es):
Date
Thread