Author: Tim Felgentreff <[email protected]>
Branch: 
Changeset: r320:569c75f21d39
Date: 2013-04-23 16:13 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/569c75f21d39/

Log:    when the idle process relinquishes the processor, fire the timer
        semaphore

diff --git a/spyvm/primitives.py b/spyvm/primitives.py
--- a/spyvm/primitives.py
+++ b/spyvm/primitives.py
@@ -1332,6 +1332,8 @@
     import time
     time_s = time_mu_s / 1000000.0
     time.sleep(time_s)
+    interp.interrupt_check_counter = 0
+    interp.quick_check_for_interrupt(s_frame, dec=0)
     return w_rcvr
 
 @expose_primitive(FORCE_DISPLAY_UPDATE, unwrap_spec=[object])
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to