about summary refs log tree commit diff
path: root/src/thread/pthread_setcancelstate.c
Commit message (Collapse)AuthorAgeFilesLines
* simplify cancellation point handlingRich Felker2011-04-131-3/+3
| | | | | | we take advantage of the fact that unless self->cancelpt is 1, cancellation cannot happen. so just increment it by 2 to temporarily block cancellation. this drops pthread_create.o well under 1k.
* new framework to inhibit thread cancellation when neededRich Felker2011-04-051-2/+2
| | | | | | | with these small changes, libc functions which need to call functions which are cancellation points, but which themselves must not be cancellation points, can use the CANCELPT_INHIBIT and CANCELPT_RESUME macros to temporarily inhibit all cancellation.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+10