Nov. 24, 2011
6:28 p.m.
On 24 Nov 2011, at 19:07, Pablo Herrero wrote:
Hi!
Is there any mean to tell the Pharo VM to not switch to any other thread ultil you can tell is safe to do so?
The VM does only preempt you when another higher prior process becomes runnable. There are a couple of things in the block class, like fork uninterruptible or so. You might want to use those. But you can also just raise your priority to the maximum manually. The relevant global for that is Processor. Best regards Stefan -- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525