]> granicus.if.org Git - gc/commit
2009-05-21 Hans Boehm <Hans.Boehm@hp.com> (really Ivan Maidanski)
authorhboehm <hboehm>
Fri, 22 May 2009 00:39:53 +0000 (00:39 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:44 +0000 (21:06 +0400)
commitbc8ee5f41ae97b9b32a7c2468ac3e8afd0bd65d9
tree867dff597272ee5b0fda92a3018070770dbedffe
parent76ba17fb99abb42dc195fee409200bda23aa9906
2009-05-21  Hans Boehm <Hans.Boehm@hp.com> (really Ivan Maidanski)
* win32_threads.c (GC_new_thread): Make first_thread
visible to the whole file.
(UNPROTECT): New macro.
(GC_push_stack_for, GC_suspend, GC_start_world): unprotect
thread structures before writing.
(GC_suspend): Acquire GC_fault_handler_lock before suspending
thread.
* os_dep.c: export GC_fault_handler_lock.
(GC_remove_protection): Check if already unprotected.
ChangeLog
os_dep.c
win32_threads.c