[PATCH][BZ #13613] Allow a single-threaded process to cancel itself

Jakub Jelinek jakub@redhat.com
Thu May 10 15:34:00 GMT 2012


On Thu, May 10, 2012 at 08:22:55AM -0700, Richard Henderson wrote:
> ... which to me means this change is just busy work.  I think the
> comment in pthread_cancel ought to be sufficient.

Yeah, comment should be enough, the proposed changes are terribly ugly.

multiple_threads btw doesn't mean that there is currently more than one
thread running, it is sticky, it just means that the program might not be
single threaded and that more care is needed.

	Jakub



More information about the Libc-alpha mailing list