Go does not yet have a proactive scheduler, but one is scheduled for 1.2 . Thus, no, Go will not switch context during calculations only for the CPU, only during I / O (reading from memory is also considered I / O if it is not already in the register). You can read about this in Issue 543 — Proactive Planning .
source share