(gc_section_count): Removed, thread-sleeping can not
authorMarius Vollmer <mvo@zagadka.de>
Thu, 19 Aug 2004 17:16:01 +0000 (17:16 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Thu, 19 Aug 2004 17:16:01 +0000 (17:16 +0000)
commit6087fad9c7263be996e8cb91cb300a20280048be
tree6c6e1d01e6a818a14ef69b82943e91e2289c3adb
parent3ee86942a7cc519ef1c6f6a9868a5136f85558bc
(gc_section_count): Removed, thread-sleeping can not
be nested.
(scm_i_thread_put_to_sleep): Call scm_i_leave_guile before locking
admin mutex so that we can be put to sleep by other threads while
blocking on that mutex.  Lock all the heap mutex of all threads,
including ourselves.
(scm_i_thread_wake_up): Unlock all threads, including ourselves,
call scm_i_enter_guile.
(scm_thread_mark_stacks): Expect all threads to be suspended.
libguile/threads.c