diff options
author | rpj <rpj> | 2004-10-01 07:17:09 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-10-01 07:17:09 +0000 |
commit | b0cf9efa6afeb8a7dbddf124dae173a2d633c801 (patch) | |
tree | 8f208f15bd63cf69ae9e2ceb2d523296db8bca76 /pthread_mutex_init.c | |
parent | 531ca4db4794aab863a898b4d079ccd59b424b25 (diff) |
Mutex speedups
Diffstat (limited to 'pthread_mutex_init.c')
-rw-r--r-- | pthread_mutex_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |