@david_chisnall@infosec.exchange
Post #4254104
2026-07-30 16:35 UTC
@wordshaper@weatherishappening.network
pthread_cancel’s rationale is one of the clearest examples of this. The API is something that is a terrible idea and is almost impossible to use safely for any non-toy example. The rationale describes two implementation choices, neither of which would give rise to a usable system.
Everyone who actually wants to solve the purported problem invents a cancellation token, but scopes it to some activity, not to an entire thread.
Replies (0)
No replies.