summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-01-22 15:10:52 -0800
committerElliott Hughes <enh@google.com>2020-01-22 15:10:52 -0800
commitb5a7741bb3250c2bcb93bee748512e90a9fd99b1 (patch)
tree9dbf7b0c793877598392fdc9521ad8e0779f6bf0 /docs
parent73e9f242ed07631798433df4e35f5f73443cb9f9 (diff)
Mention why we don't have pthread_cancel().
It's a somewhat frequently asked question. Change-Id: I2ad88e8d79607e49a891eb2304e9be63494ad193
Diffstat (limited to 'docs')
-rw-r--r--docs/status.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/status.md b/docs/status.md
index 547066882..fb88dd297 100644
--- a/docs/status.md
+++ b/docs/status.md
@@ -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