[Pharo-project] Weird change in Project class >> spawnNewProcess
tinchodias at gmail.com
Sun Mar 25 11:21:16 EDT 2012
Debugging a Fuel test case, I discovered something I can't explain myself:
Project class>>#spawnNewProcess is replaced in the middle of the *first*
test run, between serialization and materialization.
This happens the *first time* I run the test in a *clean* Pharo 1.3 image,
after first time, the method doesn't change anymore. In 1.4 we don't have
I logged the method sources, and actually there is a difference:
-- during serialization --
UIProcess := [[World doOneCycle.
* nil*] newProcess priority: Processor userSchedulingPriority.
-- during materialization --
UIProcess := [
[World doOneCycle. Processor yield. false] *whileFalse: .*
* *] newProcess priority: Processor userSchedulingPriority.
-- system info --
Pharo1.3 - 13327 - 'Croquet Closure Cog VM [CoInterpreter
Do you know why this happens?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev