upvote
You can fork and use threads, what POSIX disallow is to fork after having started threads, as long as you fork before you're in the clear.

And in practice, at least on Linux, forking after having spawned threads is possible if done extremely carefully, but hard to do.

reply
Forking is a parallelization strategy, not evidence of an absence of multithreading.

I'm skeptical that pure threading would improve throughput here.

reply