From b0cf9efa6afeb8a7dbddf124dae173a2d633c801 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 1 Oct 2004 07:17:09 +0000 Subject: Mutex speedups --- pthread_mutex_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_mutex_init.c') diff --git a/pthread_mutex_init.c b/pthread_mutex_init.c index ebf26d5..93504ad 100644 --- a/pthread_mutex_init.c +++ b/pthread_mutex_init.c @@ -80,7 +80,7 @@ pthread_mutex_init (pthread_mutex_t * mutex, const pthread_mutexattr_t * attr) } else { - mx->lock_idx = PTW32_MUTEX_LOCK_IDX_INIT; + mx->lock_idx = -1; mx->recursive_count = 0; mx->kind = (attr == NULL || *attr == NULL ? PTHREAD_MUTEX_DEFAULT : (*attr)->kind); -- cgit v1.2.3