Mercurial > emacs
view src/s/sunos413.h @ 78437:77430fdfce38
(_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.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Tue, 07 Aug 2007 08:57:24 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 |
line wrap: on
line source
#include "sunos4-1.h" /* jik@gza.com says this works now. */ /* The bug that corrupts GNU malloc's memory pool is fixed in SunOS 4.1.3. */ #undef SYSTEM_MALLOC /* barrie@calvin.demon.co.uk says memmove is missing. */ #ifndef SYSTEM_MALLOC #define MEMMOVE_MISSING #endif #define USE_MMAP_FOR_BUFFERS 1 /* arch-tag: ebd184b0-9084-4306-8e71-c0437330e1e1 (do not change this comment) */