Re: [c++-pthreads] C++ and posix threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [c++-pthreads] C++ and posix threads
- To: c++-pthreads@xxxxxxxxxxxxxxxx
- Subject: Re: [c++-pthreads] C++ and posix threads
- From: Richard Henderson <rth@xxxxxxxxxx>
- Date: Wed, 24 Dec 2003 16:11:17 -0800
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~