summaryrefslogtreecommitdiff
path: root/pthread_mutex_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_mutex_lock.c')
-rw-r--r--pthread_mutex_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_mutex_lock.c b/pthread_mutex_lock.c
index fe58a05..eb81c9b 100644
--- a/pthread_mutex_lock.c
+++ b/pthread_mutex_lock.c
@@ -167,7 +167,7 @@ pthread_mutex_lock (pthread_mutex_t * mutex)
(LPLONG) &mx->lock_idx,
(LONG) 1) != 0)
{
- while (0 == (result = ptw32_robust_mutex_inherit(mutex, self))
+ while (0 == (result = ptw32_robust_mutex_inherit(mutex))
&& (LONG) PTW32_INTERLOCKED_EXCHANGE(
(LPLONG) &mx->lock_idx,
(LONG) -1) != 0)
@@ -242,7 +242,7 @@ pthread_mutex_lock (pthread_mutex_t * mutex)
}
else
{
- while (0 == (result = ptw32_robust_mutex_inherit(mutex, self))
+ while (0 == (result = ptw32_robust_mutex_inherit(mutex))
&& (LONG) PTW32_INTERLOCKED_EXCHANGE(
(LPLONG) &mx->lock_idx,
(LONG) -1) != 0)