malloc and pthreads

Status
Not open for further replies.

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
In pthreads is calling abort considered good form unless you are in the middle of taking down your process anyway?

Genuine question, in .Net it's considered an extremely bad idea because various operations normally guaranteed to be atomic and uninterruptable do not maintain their semantics in the face of thread aborts. I can imagine there are aspects of exception handling that are similar.
 
Status
Not open for further replies.