|
|
|
|
|
by ds300
4208 days ago
|
|
> With goroutines the cooperation is handled by the implementation/compiler -- i.e. Yield() calls are automatically inserted by the compiler -- rather than by the programmer manually by hand. The compiler only inserts yeilds at some call sites. It's not a total solution like real preemptive scheduling, so you still need to be careful. |
|