DescriptionFix race in VerifyStackReadWithMultipleThreads VerifyStackReadWithMultipleThreads would fail periodically because one of the child threads was not in the expected state. Now each thread sends an indication that is is running immediately before entering the busy loop. There is still a possibility that the parent process can stop a child thread before it i ready. Having the parent sleep for 100ms seems to be sufficient to avoid the race. Signed-off-by: Chris Dearman <chris@mips.com> Patch Set 1 #
Total comments: 4
Patch Set 2 : Fix race in VerifyStackReadWithMultipleThreads #
MessagesTotal messages: 6
|