about summary refs log tree commit diff
path: root/nptl/tst-cancel-self-cancelstate.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix nptl/tst-cancel-self-cancelstate.c warning.Joseph Myers2014-11-261-1/+1
| | | | | | | | | | | | | This patch fixes "../sysdeps/nptl/pthread.h:670:26: warning: initialization discards 'volatile' qualifier from pointer target type" arising when building nptl/tst-cancel-self-cancelstate.c. The problem is passing a volatile int * to a macro expecting void *; the patch adds an explicit cast. Tested for x86_64. * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of pthread_cleanup_push to void *.
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-011-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-021-1/+1
|
* Allow a single-threaded program to cancel itselfSiddhesh Poyarekar2012-05-151-0/+65
There is nothing in the POSIX specification to disallow a single-threaded program from cancelling itself, so we forcibly enable multiple_threads to allow the next available cancellation point in the thread to run. Also added additional tests to cover various cancellation scenarios.