Don't run code between fork and exec in a multi threaded program, I agree it's sad but it's also a complex problemhttps://twitter.com/weaveworks/status/869693489801555972 …
-
-
Replying to @jessfraz
I really, really wish the unix developer community would start to warm up to the idea that fork() was a design mistake.
3 replies 3 retweets 13 likes -
Alternative? Win32 like CreateProccess? Potentially very slow.
3 replies 0 retweets 0 likes -
Rich Felker Retweeted Rich Felker
Rich Felker added,
2 replies 0 retweets 3 likes -
Sweet! Is it worth to switch over to posix_spawn? How portable is it? (I’ve seen it on osx man pages, which is great!)
1 reply 0 retweets 0 likes
Very, and if a system lacks it you can write a portable fallback in terms of fork+exec.
3:40 PM - 31 May 2017
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.