diff options
author | David Leonard <d@cvs.openbsd.org> | 2000-01-14 06:16:38 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 2000-01-14 06:16:38 +0000 |
commit | 65f398beff229464c5f88f751c7e4f62f516afc6 (patch) | |
tree | c9b4e419a7fb3e4e5d5411582df14a96ff97192a /lib/libc/thread | |
parent | 3c9f5b1361e54c3fd2d464bbdacd5f6896fadd60 (diff) |
malloc lock helpers
Diffstat (limited to 'lib/libc/thread')
-rw-r--r-- | lib/libc/thread/unithread_malloc_lock.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/libc/thread/unithread_malloc_lock.c b/lib/libc/thread/unithread_malloc_lock.c new file mode 100644 index 00000000000..67e51559180 --- /dev/null +++ b/lib/libc/thread/unithread_malloc_lock.c @@ -0,0 +1,21 @@ +/* $OpenBSD: unithread_malloc_lock.c,v 1.1 2000/01/14 06:16:37 d Exp $ */ + +#include <sys/cdefs.h> +#include <pthread.h> +#include "thread_private.h" + +WEAK_PROTOTYPE(_thread_malloc_lock); +WEAK_PROTOTYPE(_thread_malloc_unlock); + +WEAK_ALIAS(_thread_malloc_lock); +WEAK_ALIAS(_thread_malloc_unlock); + +void +WEAK_NAME(_thread_malloc_lock)() +{ +} + +void +WEAK_NAME(_thread_malloc_unlock)() +{ +} |