This is the mail archive of the
mailing list for the pthreas-win32 project.
- To: 'Thomas Sailer' <sailer at ife dot ee dot ethz dot ch>, pthreads-win32 at sourceware dot cygnus dot com
- Subject: RE: cancelling
- From: "Bossom, John" <John dot Bossom at Cognos dot COM>
- Date: Mon, 10 Jul 2000 12:34:35 -0400
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 cancel mechanism was implemented using this strategy.
Now, your thread is recognizing the cancel (the exception
hex value is human readable: BAD DEED) and should have
been caught by the threadStart wrapper, which would have
gracefully shut down your thread.
I am not familiar with the code base anymore so you will
have to ask others... ie Ross
From: Thomas Sailer [mailto:email@example.com]
Sent: Monday, July 10, 2000 11:55 AM
I'm trying to cancel a thread that is blocking
in pthread_cond_wait. When I do this, I get:
gdb: unknown target exception 0xebaddeed at 0x77e79b01
I'm using the precompiled snapshot 1999-11-02,
the rest of the program is compiled with the current
(as of two weeks ago) cygwin gcc (with -mno-cygwin).
What am I missing?