public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Thomas Sailer <sailer@ife.ee.ethz.ch>
To: "Bossom, John" <John.Bossom@Cognos.COM>
Cc: pthreads-win32@sourceware.cygnus.com
Subject: Re: cancelling
Date: Wed, 12 Jul 2000 10:25:00 -0000	[thread overview]
Message-ID: <396CAA0B.BA376CDF@ife.ee.ethz.ch> (raw)
In-Reply-To: <430F887D415DD1118C2700805F31ECF1037F1263@sota0005.cognos.com>

"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

  parent reply	other threads:[~2000-07-12 10:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-12  7:34 cancelling Bossom, John
2000-07-12  8:44 ` cancelling Lorin Hochstein
2000-07-12 10:25 ` Thomas Sailer [this message]
2000-07-12 23:24   ` cancelling Ross Johnson
  -- strict thread matches above, loose matches on Subject: below --
2000-07-10  9:35 cancelling Bossom, John
2000-07-12  4:21 ` cancelling Thomas Sailer
2000-07-10  8:55 cancelling Thomas Sailer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=396CAA0B.BA376CDF@ife.ee.ethz.ch \
    --to=sailer@ife.ee.ethz.ch \
    --cc=John.Bossom@Cognos.COM \
    --cc=pthreads-win32@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).