|
|
|
|
|
by enneff
4279 days ago
|
|
> If any thread runs in an infinite loop that doesn't call built in functions, the entire runtime will freeze. That's not entirely true. Go 1.3 introduced pre-emptive scheduling, so now only the most trivial (useless) of infinite loops will hog the scheduler. But if you're doing real CPU-bound work you won't block other goroutines from executing. |
|