Hacker News new | ask | show | jobs
by saagarjha 2546 days ago
> It's an API that provides no actual value (you can implement it yourself via signals)

> is a giant minefield if you care about not leaking or deadlocking

Aren't these two in opposition?

1 comments

No. pthread_cancel implemented completely correctly is inherently a giant minefield. (Details in a reply to a sibling post)