Elektrine lite

← Feed

@wordshaper@weatherishappening.network

Post #4254103

2026-07-30 15:49 UTC

@david_chisnall@infosec.exchange I am now having flashbacks to the pthreads standardization process and I think maybe I need to go lie down a bit until I forget again.

Replies (1)

  • @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.

    Open ##4254104