summaryrefslogtreecommitdiff
path: root/pthread_cond_wait.c
diff options
context:
space:
mode:
authorrpj <rpj>2005-04-18 04:35:59 +0000
committerrpj <rpj>2005-04-18 04:35:59 +0000
commit9c1e294871d937b23c1685c0c8d5214d9eb6a187 (patch)
treec7ffcaef4f6c9029e24c4e1650d2441e3e7f1d15 /pthread_cond_wait.c
parentef371a69a71cecc05ba9e29dcbc7303f918a4ea0 (diff)
''
Diffstat (limited to 'pthread_cond_wait.c')
-rw-r--r--pthread_cond_wait.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/pthread_cond_wait.c b/pthread_cond_wait.c
index f4cfc20..5511c58 100644
--- a/pthread_cond_wait.c
+++ b/pthread_cond_wait.c
@@ -270,7 +270,6 @@ typedef struct
pthread_mutex_t *mutexPtr;
pthread_cond_t cv;
int *resultPtr;
- int signaled;
} ptw32_cond_wait_cleanup_args_t;
static void PTW32_CDECL
@@ -401,12 +400,6 @@ ptw32_cond_timedwait (pthread_cond_t * cond,
cleanup_args.mutexPtr = mutex;
cleanup_args.cv = cv;
cleanup_args.resultPtr = &result;
- /*
- * If we're canceled, or the cancelable wait fails for any reason,
- * including a timeout, then tell the cleanup routine that we
- * have not been signaled.
- */
- cleanup_args.signaled = 0;
#ifdef _MSC_VER
#pragma inline_depth(0)
@@ -442,11 +435,6 @@ ptw32_cond_timedwait (pthread_cond_t * cond,
}
/*
- * Not executed if we're canceled. Signaled is false if we timed out.
- */
- cleanup_args.signaled = (result == 0);
-
- /*
* Always cleanup
*/
pthread_cleanup_pop (1);