Hacker News new | past | comments | ask | show | jobs | submit login

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: