add proper fuxed-based locking for stdio
[musl] / src / thread / cancellation2.c