mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue