about summary refs log tree commit diff
path: root/src/thread/pthread_spin_lock.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-02-21 22:05:15 -0500
committerRich Felker <dalias@aerifal.cx>2015-02-21 22:05:15 -0500
commit102f6a01e249ce4495f1119ae6d963a2a4a53ce5 (patch)
tree48176fc7da5e0193a47ae32b22e057f8bef43093 /src/thread/pthread_spin_lock.c
parentf409338a9e808a09001669377c608fd2803d808d (diff)
downloadmusl-102f6a01e249ce4495f1119ae6d963a2a4a53ce5.tar.gz
musl-102f6a01e249ce4495f1119ae6d963a2a4a53ce5.tar.xz
musl-102f6a01e249ce4495f1119ae6d963a2a4a53ce5.zip
add new masked cancellation mode
this is a new extension which is presently intended only for
experimental and internal libc use. interface and behavior details may
change subject to feedback and experience from using it internally.

the basic concept for the new PTHREAD_CANCEL_MASKED state is that the
first cancellation point to observe the cancellation request fails
with an errno value of ECANCELED rather than acting on cancellation,
allowing the caller to process the status and choose whether/how to
act upon it.
Diffstat (limited to 'src/thread/pthread_spin_lock.c')
0 files changed, 0 insertions, 0 deletions