From 199616f24c022887ea8535c14b4fb668bee32c31 Mon Sep 17 00:00:00 2001 From: rpj Date: Sat, 7 Jun 2008 03:46:52 +0000 Subject: '' --- pthread_testcancel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_testcancel.c') diff --git a/pthread_testcancel.c b/pthread_testcancel.c index ad7cdb9..9686d9e 100644 --- a/pthread_testcancel.c +++ b/pthread_testcancel.c @@ -92,10 +92,10 @@ pthread_testcancel (void) { ResetEvent(sp->cancelEvent); sp->state = PThreadStateCanceling; - (void) pthread_mutex_unlock (&sp->cancelLock); sp->cancelState = PTHREAD_CANCEL_DISABLE; (void) pthread_mutex_unlock (&sp->cancelLock); ptw32_throw (PTW32_EPS_CANCEL); + /* Never returns here */ } (void) pthread_mutex_unlock (&sp->cancelLock); -- cgit v1.2.3