[c++-pthreads] What are the real issues?
Ted Baker
baker at cs.fsu.edu
Wed Jan 7 21:33:46 UTC 2004
> In a catch block handling a cancellation exception, functions
> identified as cancellation points work normally.
Do you mean to imply that the implementation of each of these functions
looks to see whether the call is coming from inside a catch block?
(It seems you are asking the behavior of these calls to vary,
depending on the context of the call, working normally in a
catch block but failing outside.)
> Eventually the inability of the thread to achieve anything leads it
> to top-level code equipped to recognize the cancelled condition as
> such, and to clean up and die in a controlled way.
This assumes the code has been structured with cancellation in
mind, so that control passes upward in the way you expect, or
that you are lucky.
--Ted
More information about the c++-pthreads
mailing list