2 ms·
If you fork after launching threads, your program is an unexpected state, so it may corrupt data or crash. The same happens on macOS, it's just that Apple adde
by dchest 9y ago
If you fork after launching threads, your program is an unexpected state, so it may corrupt data or crash.
The same happens on macOS, it's just that Apple added a contract that you can't initialize ObjC classes after forking.