aboutsummaryrefslogtreecommitdiff
path: root/src/mq/mq_open.c (unfollow)
Commit message (Expand)AuthorFilesLines
2023-02-11mq_notify: use semaphore instead of barrier to sync args consumption•••semaphores are a much lighter primitive, and more idiomatic with current usage in the code base. Rich Felker1-5/+9
2023-02-11fix pthread_detach inadvertently acting as cancellation point in race case•••disabling cancellation around the pthread_join call seems to be the safest and logically simplest fix. i believe it would also be possible to just perform the unmap directly here after __tl_sync, removing the dependency on pthread_join, but such an approach duplicately encodes a lot more implementation assumptions. Rich Felker1-2/+6
2023-02-11powerpc-sf longjmp clobbering of val argument•••the logic to check hwcap for SPE register file inadvertently clobbered the val argument before use. switch to a different work register so this doesn't happen. Rich Felker1-4/+4