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

Siddhesh Poyarekar siddhesh.poyarekar@gmail.com
Wed May 9 17:34:00 GMT 2012


On 9 May 2012 22:58, Carlos O'Donell <carlos@systemhalted.org> wrote:
> I like this better along with a comment describing why they share the
> same variable, that way if we split them apart some day we'll know
> what we need to do.

OK.

> I'm a little worried that this has never been enabled before, so could
> you please include some more coverage in your testing:
>
> * pthread_setcancelstate()
>
> * pthread_setcanceltype()
>
> and
>
> * pthread_testcancel()
>
> Which should ensure we don't regress in the single thread case.

OK, will do.


-- 
Siddhesh Poyarekar
http://siddhesh.in



More information about the Libc-alpha mailing list