Diff of /cancel.c [77d0a6] .. [9af51e]  Maximize  Restore

Switch to side-by-side view

--- a/cancel.c
+++ b/cancel.c
@@ -195,7 +195,7 @@
 
 	      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 @@
 
 #ifdef __cplusplus
 
-	      throw Pthread_exception();
+	      throw Pthread_exception_cancel();
 
 #endif /* __cplusplus */
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks