cancelling
Thomas Sailer
sailer@ife.ee.ethz.ch
Wed Jul 12 10:25:00 GMT 2000
"Bossom, John" wrote:
>
> Now, originally I implemented the pthread_cancel mechanism
> with Microsoft's SEH (Structured Exception Handling)
> and internally the BAD DEED is being thrown using this
> mechanism and being caught by the thread start routine.
>
> You should check to see if someone changed the thread
> start routine to use the C++ exception mechanism.
The code currently seems to support three mechanisms:
if _MSC_VER is defined, it seems to be using SEH.
otherwise, if __cplusplus is defined, it seems to
be using C++ EH.
otherwise, it just starts the thread without any
exception handling.
Now the question is how the precompiled
DLL on the net was compiled.
Tom
More information about the Pthreads-win32
mailing list