3 ms·
EINTR? I suspect some calls are defined to never return it, but it may be just de facto, not strict rule. Edit: simply signalling all threads with SIGFORK, wai
by wruza 9y ago
EINTR? I suspect some calls are defined to never return it, but it may be just de facto, not strict rule.
Edit: simply signalling all threads with SIGFORK, waiting for a handler to return and freezing a thread at SA_RESTART point feels right way to do it. Why did POSIX decide to fork() only one thread by default at all?
- crest 9y agoBecause the alternatives are worse.