[PATCH] thread cancellation via C++ exception

Ulrich Drepper drepper at redhat.com
Tue May 18 00:06:16 UTC 2004


This is not only not going to be added to glibc, it's also not
guaranteed to work (probably doesn't work today) and can break in
interesting ways at any time.

Cancellation, as the word already suggests, is final.  There mustn't be
any catch without rethrow.  The thread library does, and will probably
even more so in future, alter the state of the library once a thread is
canceled and this is not reversible.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖





More information about the Phil-list mailing list