[c++-pthreads] C++ and posix threads

Richard Henderson rth at redhat.com
Thu Dec 25 00:11:17 UTC 2003


On Tue, Dec 23, 2003 at 08:46:22PM -0800, Nathan Myers wrote:
> The only detailed proposal thus far has read() returning -1 in the 
> event of cancellation.

And the proposal is a complete non-starter, because the POSIX C
binding ALREADY says that synchronous thread cancelation runs the
handlers set up by pthread_cleanup_push, and then terminates the
thread.

You'll get zero uptake from library implementors or POSIX if you
try to change that semantic.


r~



More information about the c++-pthreads mailing list