(_malloc_thread_enabled_p) [USE_PTHREAD]: New variable.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 7 Aug 2007 08:56:08 +0000 (08:56 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 7 Aug 2007 08:56:08 +0000 (08:56 +0000)
commit3ceeb306d2d5843f7277a51c5425386d64678e31
tree53ff56524362a2a40b4f5be2fe098d1abd2cd183
parent5467331d9c585bbf2e68dcfef9041d4f4554d39d
(_malloc_thread_enabled_p) [USE_PTHREAD]: New variable.
[USE_PTHREAD] (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS)
(UNLOCK_ALIGNED_BLOCKS): Conditionalize with it.
(malloc_atfork_handler_prepare, malloc_atfork_handler_parent)
(malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]:
New functions.
src/ChangeLog
src/gmalloc.c