aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_join.c (unfollow)
Commit message (Expand)AuthorFilesLines
2011-04-13simplify 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. Rich Felker2-16/+5
2011-04-13simplify syslog, add vsyslog interface (nonstandard)•••with datagram sockets, depending on fprintf not to flush the output early was very fragile; the new version simply uses a small fixed-size buffer. it could be updated to dynamic-allocate large buffers if needed, but i can't envision any admin being happy about finding 64kb-long lines in their syslog... Rich Felker1-31/+36
2011-04-13remove useless SIGPIPE protection from syslog•••per the standard, SIGPIPE is not generated for SOCK_DGRAM. Rich Felker1-9/+0
2011-04-13fix syslog (corrected SIGPIPE blocking, and using dgram instead of stream)•••it actually appears the hacks to block SIGPIPE are probably not necessary, and potentially harmful. if i can confirm this, i'll remove them. Rich Felker1-10/+8
2011-04-13numerous fixes to sysv ipc•••some of these definitions were just plain wrong, others based on outdated ancient "non-64" versions of the kernel interface. as much as possible has now been moved out of bits/* these changes break abi (the old abi for these functions was wrong), but since they were not working anyway it can hardly matter. Rich Felker12-66/+96
2011-04-13add syslog.h cruft for syslogd to use...Rich Felker1-0/+45
2011-04-13add profile for getmntent_rRich Felker1-0/+1