Workaround for bug (?) in ProcessorScheduler jv
authorJan Vrany <jan.vrany@fit.cvut.cz>
Sat, 11 Mar 2017 21:41:58 +0000
branchjv
changeset 326 113031dfa759
parent 325 7a039308efa5
child 334 a7f6c7bc62a8
Workaround for bug (?) in ProcessorScheduler "Due to some bug (?) in ProcessorScheduler, we need to set exitWhenNoMoreUserProcesses to prevent process dispatcher to exit prematurely. Sometimes, ProcessorScheduler>>checkForEndOfSispatch thought there's no runnable user proless even though test runner did not finish (was merely waiting for external command to finish). Happened sometimes. not always.
reports/report-runner.st
--- a/reports/report-runner.st	Thu Feb 23 13:36:24 2017 +0000
+++ b/reports/report-runner.st	Sat Mar 11 21:41:58 2017 +0000
@@ -38,4 +38,9 @@
     ].
 ].
 
-(Smalltalk at:#'Builder::ReportRunner') start.
+"/ Due to some bug in ProcessorScheduler, we need to set 
+"/ exitWhenNoMoreUserProcesses to prevent process dispatcher
+"/ to exit prematurely. 
+Processor exitWhenNoMoreUserProcesses: false.
+
+(Smalltalk at:#'Builder::ReportRunner') start.
\ No newline at end of file