File src/pkg/runtime/proc.c (right):
Please add a comment before these new functions explaining what they do
and explaining what locks need to be held before calling them.
src/pkg/runtime/proc.c:2096: gp->stackguard = StackPreempt;
If I understand this correctly, this g might actually be running in
parallel. So this assignment to gp->stackguard might be overwritten
before it takes effect. If I'm right I think there needs to be a
comment explaining that.
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.