diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-11 16:50:05 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-11 16:50:05 +0000 |
commit | efc57feb990d7c1543c73387ff9802db712d8581 (patch) | |
tree | 8c921a6e060a93aaa1b47adaaa7c64fffd401f22 /malloc.c | |
parent | 3ca1d9d436340b88707e8c4386efccb6ea8d2059 (diff) | |
download | perl-efc57feb990d7c1543c73387ff9802db712d8581.tar.gz |
avoid using context pointer in MUTEX_INIT() et al; remove the
*_NOCONTEXT variants to keep it simple
p4raw-id: //depot/perl@5651
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -150,8 +150,8 @@ warn(format, arg) fprintf(stderr, idem) # Locking/unlocking for MT operation - MALLOC_LOCK MUTEX_LOCK_NOCONTEXT(&PL_malloc_mutex) - MALLOC_UNLOCK MUTEX_UNLOCK_NOCONTEXT(&PL_malloc_mutex) + MALLOC_LOCK MUTEX_LOCK(&PL_malloc_mutex) + MALLOC_UNLOCK MUTEX_UNLOCK(&PL_malloc_mutex) # Locking/unlocking mutex for MT operation MUTEX_LOCK(l) void @@ -319,11 +319,11 @@ #endif #ifndef MALLOC_LOCK -# define MALLOC_LOCK MUTEX_LOCK_NOCONTEXT(&PL_malloc_mutex) +# define MALLOC_LOCK MUTEX_LOCK(&PL_malloc_mutex) #endif #ifndef MALLOC_UNLOCK -# define MALLOC_UNLOCK MUTEX_UNLOCK_NOCONTEXT(&PL_malloc_mutex) +# define MALLOC_UNLOCK MUTEX_UNLOCK(&PL_malloc_mutex) #endif # ifndef fatalcroak /* make depend */ |