24a23d52d8ab0e3333585425841a858fa38df673
example:
#define AALLOC_THREAD_ENTER(ap) @synchronized(aalloc_guard) {
#define AALLOC_THREAD_LEAVE(ap) }
notes:
• you must declare and define eventual guard objects yourself
• while there will not be any direct “return” calls inside the
locked area, AALLOC_ABORT and AALLOC_WARN may be called
• AALLOC_RANDOM does not need to be thread-safe, but malloc
and free should be; if “ap” is used for locking, all functions
called must be thread-safe though
Description
MirBSD Korn Shell for Jehanne
Languages
C
57.6%
Shell
26%
Roff
13.3%
Perl
2.6%
Makefile
0.5%