summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-11 16:50:05 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-11 16:50:05 +0000
commitefc57feb990d7c1543c73387ff9802db712d8581 (patch)
tree8c921a6e060a93aaa1b47adaaa7c64fffd401f22 /malloc.c
parent3ca1d9d436340b88707e8c4386efccb6ea8d2059 (diff)
downloadperl-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/malloc.c b/malloc.c
index f76a210509..57ca5a1b84 100644
--- a/malloc.c
+++ b/malloc.c
@@ -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 */