This is why we can't have safe cancellation points
This is why we can't have safe cancellation points
Posted Apr 15, 2016 15:05 UTC (Fri) by oshepherd (guest, #90163)In reply to: This is why we can't have safe cancellation points by MrWim
Parent article: This is why we can't have safe cancellation points
Uh, thinko. I meant to say "fork is not optional in POSIX." Indeed, posix_spawn is optional, but fork is not (that said, if there are any important platforms where POSIX spawn doesn't exist - I'm thinking probably OS X here - it'd be relatively easy for somebody to produce a compatibility shim which implemented it on top of fork/execve/pipe/close/dup/etc)