top | item 45239460

(no title)

whatifitoldyou | 5 months ago

pthread_cancel is never the answer. Abrupt thread cancelation is always a risk for leaks and/or even worse, deadlocks. No matter of it was blocked in one libc function. The function is not one instruction you don't know what the poor thread was doing when it was killed.

discuss

order

No comments yet.