summaryrefslogtreecommitdiff
path: root/pthread_mutex_timedlock.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-03-25 02:53:23 +0000
committerrpj <rpj>2011-03-25 02:53:23 +0000
commitc31136724ab51c9b935344c46d3eca51c8b37d55 (patch)
tree66fb6cc81599defacdc4ef1ee6fd79c97ba92db2 /pthread_mutex_timedlock.c
parente2bee8c46a60d2f3e6bc3dfbb4f8549963060cb0 (diff)
Terminating thread robust signaling changes
Diffstat (limited to 'pthread_mutex_timedlock.c')
-rw-r--r--pthread_mutex_timedlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_mutex_timedlock.c b/pthread_mutex_timedlock.c
index d81b9c3..d4c280d 100644
--- a/pthread_mutex_timedlock.c
+++ b/pthread_mutex_timedlock.c
@@ -223,7 +223,7 @@ pthread_mutex_timedlock (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)
@@ -296,7 +296,7 @@ pthread_mutex_timedlock (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)