Mention why we don't have pthread_cancel().

It's a somewhat frequently asked question.

Change-Id: I2ad88e8d79607e49a891eb2304e9be63494ad193
This commit is contained in:
Elliott Hughes 2020-01-22 15:10:52 -08:00
parent 73e9f242ed
commit b5a7741bb3

View file

@ -33,7 +33,11 @@ Missing functions are either obsolete or explicitly disallowed by SELinux:
Missing functionality:
* `<aio.h>`
* `<wordexp.h>`
* Thread cancellation (`pthread_cancel`).
* Thread cancellation (`pthread_cancel`). Unlikely to ever be implemented
because of the difficulty and cost of implementing it, and the difficulty
of using it correctly. See
[This is why we can't have safe cancellation points](https://lwn.net/Articles/683118/)
for more about thread cancellation.
* Robust mutexes
Run `./libc/tools/check-symbols-glibc.py` in bionic/ for the current