[Pharo-project] Worskpace question
smalltalk at stefan-marr.de
Thu Jun 21 10:13:36 EDT 2012
On 21 Jun 2012, at 15:57, Guillermo Polito wrote:
> I bet there is a Morphic API that allows you to process the next drawing request.
> Hmm, that sounds like forcing the framework... I think that having a second process is the right way...
For an experiment? Getting the concurrency right in a second process sound a lot less appealing than using `World doOneCycle`, which seems to be used in other places for the same purpose as well:
UIProcess := [
[World doOneCycle. Processor yield. false] whileFalse: .
] newProcess priority: Processor userSchedulingPriority.
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
Phone: +32 2 629 2974
Fax: +32 2 629 3525
More information about the Pharo-dev