schedyield

Exposes standard POSIX function sched_yield.

Latest on Hackage:1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Michal J. Gajda
Maintained by [email protected]

sched_yield is useful, when starting many processes, and waiting for them to complete. It yields CPU time (forces context switch.)