diff options
Diffstat (limited to 'pthread_mutex_trylock.c')
-rw-r--r-- | pthread_mutex_trylock.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pthread_mutex_trylock.c b/pthread_mutex_trylock.c index f51c34c..6fcff75 100644 --- a/pthread_mutex_trylock.c +++ b/pthread_mutex_trylock.c @@ -123,11 +123,7 @@ pthread_mutex_trylock (pthread_mutex_t * mutex) { mx->recursive_count = 1; } -#if 1 ptw32_robust_mutex_add(mutex, self); -#else - mx->ownerThread = self; -#endif } else { @@ -141,11 +137,7 @@ pthread_mutex_trylock (pthread_mutex_t * mutex) if (EOWNERDEAD == (result = ptw32_robust_mutex_inherit(mutex))) { mx->recursive_count = 1; -#if 1 ptw32_robust_mutex_add(mutex, self); -#else - mx->ownerThread = self; -#endif } else { |