diff options
author | 2003-01-20 18:14:05 +0000 | |
---|---|---|
committer | 2003-01-20 18:14:05 +0000 | |
commit | e1e91d0f1ce8babc2fab5e1aeb47c6ebf1f9bfc7 (patch) | |
tree | ee74c566ae49ccdcd1d1271a0f0b9dc64321c130 /lib/libc_r/thread/thread_malloc_lock.c | |
parent | install includes from libpthread, not libc_r (diff) | |
download | wireguard-openbsd-e1e91d0f1ce8babc2fab5e1aeb47c6ebf1f9bfc7.tar.xz wireguard-openbsd-e1e91d0f1ce8babc2fab5e1aeb47c6ebf1f9bfc7.zip |
bye-bye libc_r sources.
the sources have been moved (with history) to /usr/src/lib/libpthread
Diffstat (limited to 'lib/libc_r/thread/thread_malloc_lock.c')
-rw-r--r-- | lib/libc_r/thread/thread_malloc_lock.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/libc_r/thread/thread_malloc_lock.c b/lib/libc_r/thread/thread_malloc_lock.c deleted file mode 100644 index 8755b1dad27..00000000000 --- a/lib/libc_r/thread/thread_malloc_lock.c +++ /dev/null @@ -1,24 +0,0 @@ -/* $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" - -static spinlock_t malloc_lock = _SPINLOCK_INITIALIZER; - -void -_thread_malloc_lock() -{ - _SPINLOCK(&malloc_lock); -} - -void -_thread_malloc_unlock() -{ - _SPINUNLOCK(&malloc_lock); -} - -void -_thread_malloc_init() -{ -} |