Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 1,748 posts.

Software Engineering
2025
665

RIP pthread_cancel

I posted about adding pthread_cancel use in curl about three weeks ago, we released this in curl 8.16.0 and it blew up right in our faces. Now, with #18540 we are ripping it out again. What happened? short recap pthreads define “Cancelation points”, a list of POSIX functions where a pthread may be cancelled. In…