3 ms·
Important point there seem to be missing from your goroutine description is it's scheduling with respect to system calls -- all interactions with underlying OS
by densh 14y ago
Important point there seem to be missing from your goroutine description is it's scheduling with respect to system calls -- all interactions with underlying OS is asynchronous in Go even though it looks like a blocking API. E.g. networking internally uses polling specific to given OS. So if one goroutine is waiting for a system call to complete it will not block the rest of goroutines.