_thread_kern_sig_unblock takes an integer, not a reference.

Submitted by:	John Birrell <jb@cimlogic.com.au>
This commit is contained in:
Alexander Langer 1996-12-29 02:38:50 +00:00
parent 595236df9b
commit 8596ee6d82
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21000

View File

@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ---------------------------------------------------------------------------- * ----------------------------------------------------------------------------
* *
* $Id: malloc.c,v 1.17 1996/10/26 08:19:07 phk Exp $ * $Id: malloc.c,v 1.18 1996/10/29 20:35:39 phk Exp $
* *
*/ */
@ -1085,7 +1085,7 @@ ifree(void *ptr)
#include "pthread_private.h" #include "pthread_private.h"
static int malloc_lock; static int malloc_lock;
#define THREAD_LOCK() _thread_kern_sig_block(&malloc_lock); #define THREAD_LOCK() _thread_kern_sig_block(&malloc_lock);
#define THREAD_UNLOCK() _thread_kern_sig_unblock(&malloc_lock); #define THREAD_UNLOCK() _thread_kern_sig_unblock(malloc_lock);
#else #else
#define THREAD_LOCK() #define THREAD_LOCK()
#define THREAD_UNLOCK() #define THREAD_UNLOCK()