about summary refs log tree commit diff
path: root/src/stdio/putwc.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-13 20:47:01 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-13 20:47:01 -0400
commit9beb6330c08839e8bb2ebcd129c97c395d9d327e (patch)
treeebd39cb4fae2cc1116adca1d38ae539be705e8ec /src/stdio/putwc.c
parent19c1830eaaab05652d87b5ee9557d0d7a40c2f06 (diff)
downloadmusl-9beb6330c08839e8bb2ebcd129c97c395d9d327e.tar.gz
musl-9beb6330c08839e8bb2ebcd129c97c395d9d327e.tar.xz
musl-9beb6330c08839e8bb2ebcd129c97c395d9d327e.zip
simplify cancellation point handling
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.
Diffstat (limited to 'src/stdio/putwc.c')
0 files changed, 0 insertions, 0 deletions