From 9af51e470791639995bb34bd3198014dc11e2fef Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 12 Aug 1999 01:32:02 +0000 Subject: Merged patches to main trunk. --- cancel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cancel.c') diff --git a/cancel.c b/cancel.c index dac8e66..c3711e2 100644 --- a/cancel.c +++ b/cancel.c @@ -195,7 +195,7 @@ pthread_testcancel (void) DWORD exceptionInformation[3]; - exceptionInformation[0] = (DWORD) (0); + exceptionInformation[0] = (DWORD) (_PTHREAD_EPS_CANCEL); exceptionInformation[1] = (DWORD) (0); exceptionInformation[2] = (DWORD) (0); @@ -209,7 +209,7 @@ pthread_testcancel (void) #ifdef __cplusplus - throw Pthread_exception(); + throw Pthread_exception_cancel(); #endif /* __cplusplus */ -- cgit v1.2.3