diff options
author | 2002-11-05 22:19:55 +0000 | |
---|---|---|
committer | 2002-11-05 22:19:55 +0000 | |
commit | a04bf6e3c68b13ba327bbea611ce4eb0077d850c (patch) | |
tree | 1f337008ce2905978f12317a8d4fd0dfc618fcd8 /lib/libpthread/thread/thread_malloc_lock.c | |
parent | Updated from ftp.internic.net (diff) | |
download | wireguard-openbsd-a04bf6e3c68b13ba327bbea611ce4eb0077d850c.tar.xz wireguard-openbsd-a04bf6e3c68b13ba327bbea611ce4eb0077d850c.zip |
thread safe libc -- 2nd try. OK miod@, millert@
Thanks to miod@ for m68k and vax fixes
Diffstat (limited to 'lib/libpthread/thread/thread_malloc_lock.c')
-rw-r--r-- | lib/libpthread/thread/thread_malloc_lock.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thread_malloc_lock.c b/lib/libpthread/thread/thread_malloc_lock.c index 68f899983cb..8755b1dad27 100644 --- a/lib/libpthread/thread/thread_malloc_lock.c +++ b/lib/libpthread/thread/thread_malloc_lock.c @@ -1,7 +1,8 @@ +/* $OpenBSD: thread_malloc_lock.c,v 1.4 2002/11/05 22:19:55 marc Exp $ */ +/* Public Domain <marc@snafu.org> */ + #include <pthread.h> #include "pthread_private.h" -#include "thread_private.h" -#include "spinlock.h" static spinlock_t malloc_lock = _SPINLOCK_INITIALIZER; @@ -16,3 +17,8 @@ _thread_malloc_unlock() { _SPINUNLOCK(&malloc_lock); } + +void +_thread_malloc_init() +{ +} |