commit | dc6224e0a3ce2b097f0a631de9ae1960f175dfe6 | [log] [tgz] |
---|---|---|
author | Greg Clayton <[email protected]> | Tue Oct 21 01:00:42 2014 |
committer | Greg Clayton <[email protected]> | Tue Oct 21 01:00:42 2014 |
tree | 7364aee6be1c2bddee56bcabeab0ca59de7fb2c5 | |
parent | f16a66973c04f56eb5068fe407ad75a3e09ee00a [diff] |
Make the "synchronous" mode actually work without race conditions. There were many issues with synchronous mode that we discovered when started to try and add a "batch" mode. There was a race condition where the event handling thread might consume events when in sync mode and other times the Process::WaitForProcessToStop() would consume them. This also led to places where the Process IO handler might or might not get popped when it needed to be. llvm-svn: 220254