4 ms·
Yep. “forkIO” creates a lightweight thread. There are also things like “forkOS” to create a heavyweight thread and “forkOn” to pin a lightweight thread to a par
by evincarofautumn 9y ago
Yep. “forkIO” creates a lightweight thread. There are also things like “forkOS” to create a heavyweight thread and “forkOn” to pin a lightweight thread to a particular capability (core, more or less).