Descriptionruntime: more reliable preemption
Currently preemption signal g->stackguard0==StackPreempt
can be lost if it is received when preemption is disabled
(e.g. m->lock!=0). This change duplicates the preemption
signal in g->preempt and restores g->stackguard0
when preemption is enabled.
Update issue 543.
Patch Set 1 #Patch Set 2 : diff -r c224c549a3c7 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r c224c549a3c7 https://dvyukov%40google.com@code.google.com/p/go/ #
Total comments: 6
Patch Set 4 : diff -r dc24634de6c5 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 5 : diff -r dc24634de6c5 https://dvyukov%40google.com@code.google.com/p/go/ #
MessagesTotal messages: 9
|