From 9c1e294871d937b23c1685c0c8d5214d9eb6a187 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 18 Apr 2005 04:35:59 +0000 Subject: '' --- pthread_cond_wait.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'pthread_cond_wait.c') 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) @@ -441,11 +434,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 */ -- cgit v1.2.3