4 ms·
The signal based mechanism is only used for stragglers. Go still uses the function call check. The runtime devs found a way to combine it with a check to see i
by uluyol 5y ago
The signal based mechanism is only used for stragglers.
Go still uses the function call check. The runtime devs found a way to combine it with a check to see if the goroutine's stack needs to be resized, so it doesn't actually cost anything.