summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorrpj <rpj>1999-08-12 01:32:02 +0000
committerrpj <rpj>1999-08-12 01:32:02 +0000
commit9af51e470791639995bb34bd3198014dc11e2fef (patch)
tree8b06f29abbaf8d1cc027bab0731a9fe79db69413 /misc.c
parent77d0a6ff70ef2bb480c927e563340fc501ec0930 (diff)
Merged patches to main trunk.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index a37db5c..208541a 100644
--- a/misc.c
+++ b/misc.c
@@ -314,7 +314,7 @@ CancelableWait (HANDLE waitHandle, DWORD timeout)
DWORD exceptionInformation[3];
- exceptionInformation[0] = (DWORD) (0);
+ exceptionInformation[0] = (DWORD) (_PTHREAD_EPS_CANCEL);
exceptionInformation[1] = (DWORD) (0);
exceptionInformation[2] = (DWORD) (0);
@@ -328,7 +328,7 @@ CancelableWait (HANDLE waitHandle, DWORD timeout)
#ifdef __cplusplus
- throw Pthread_exception();
+ throw Pthread_exception_cancel();
#endif /* __cplusplus */