Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The scheduler is invoked occasionally upon entry to a function [from http://tip.golang.org/doc/go1.2]

Does this mean that every function call has to do a check and possibly an (atomic?) increment of some variable?



No. It reuses the check that was already being done for stack growth.


So the answer is "yes but nothing more than what happens in 1.1" to the check, but no to the increment?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: