Remix.run Logo
▲ byroot an hour ago

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.