[Gc] Bug: GC_get_stack_base does not acquire allocator lock
blinke at CeBiTec.Uni-Bielefeld.DE
Thu Mar 4 08:55:25 PST 2010
GC_get_stack_base under Solaris (and probably every other OS that uses the
GC_find_limit() based implementation) does not acquire the allocator lock. If
libgc is built with assertions enabled applications fail if they start a
thread using the GC start wrapper or call GC_get_stack_base on their own
The attached patch adds the missing LOCK() and UNLOCK() statements to the
function in question.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 779 bytes
Desc: not available
Url : https://napali.hpl.hp.com/pipermail/gc/attachments/20100304/a0ca975c/stack_base_lock.bin
More information about the Gc