This is the mail archive of the
mailing list for the pthreas-win32 project.
- To: "Bossom, John" <John dot Bossom at Cognos dot COM>
- Subject: Re: cancelling
- From: Thomas Sailer <sailer at ife dot ee dot ethz dot ch>
- Date: Wed, 12 Jul 2000 13:20:55 +0200
- CC: pthreads-win32 at sourceware dot cygnus dot com
- Organization: IfE
- References: <430F887D415DD1118C2700805F31ECF1037F125B@sota0005.cognos.com>
"Bossom, John" wrote:
> Check to see if the code base for pthread is wrapping
> an exception handler around your thread mainline
> (the original code had an internal routine called "threadStart"
> which used Microsoft's Structured Exception Handling for catching all
> exceptions raised in your thread.)
The thread I'm trying to cancel was created with pthread_create,
and internally the thread routine is started through
_pthread_threadStart, which should be fine.
The thread that tries to cancel is the initial thread, i.e.
the one that called _main.
> Now, your thread is recognizing the cancel (the exception
> hex value is human readable: BAD DEED) and should have
I thought that the constant wasn't chosen arbitrarily :))