From 12ca11f6c16e7b63e13bbf5bc251f214e8de5211 Mon Sep 17 00:00:00 2001 From: Malcolm Beattie Date: Thu, 24 Jul 1997 14:57:53 +0000 Subject: Start support for fake threads. pp_lock now returns its argument. p4raw-id: //depot/perl@41 --- pp_hot.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'pp_hot.c') diff --git a/pp_hot.c b/pp_hot.c index f45fa681b3..07f0754cd5 100644 --- a/pp_hot.c +++ b/pp_hot.c @@ -41,20 +41,6 @@ void *cvarg; MUTEX_UNLOCK(CvMUTEXP(cv)); SvREFCNT_dec(cv); } - -#if 0 -void -mutex_unlock(m) -void *m; -{ -#ifdef DEBUGGING - dTHR; - DEBUG_L((fprintf(stderr, "0x%lx unlocking mutex 0x%lx\n", - (unsigned long) thr, (unsigned long) m))); -#endif /* DEBUGGING */ - MUTEX_UNLOCK((pthread_mutex_t *) m); -} -#endif #endif /* USE_THREADS */ PP(pp_const) -- cgit v1.2.1