mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
_thread_kern_sig_unblock takes an integer, not a reference.
Submitted by: John Birrell <jb@cimlogic.com.au>
This commit is contained in:
parent
595236df9b
commit
8596ee6d82
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21000
@ -6,7 +6,7 @@
|
||||
* 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"
|
||||
static int 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
|
||||
#define THREAD_LOCK()
|
||||
#define THREAD_UNLOCK()
|
||||
|
Loading…
Reference in New Issue
Block a user