Descriptionruntime: fix crash in select
runtime.park() can access freed select descriptor
due to a racing free in another thread.
See the comment for details.
Slightly modified version of dvyukov's CL 9259045.
No test yet. Before this CL, the test described in issue 5422
would fail about every 40 times for me. With this CL, I ran
the test 5900 times with no failures.
Fixes issue 5422.
Patch Set 1 #Patch Set 2 : diff -r 87762a7629b4 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|