Author: Tim Felgentreff <[email protected]>
Branch: 
Changeset: r342:2a275ccd6a6a
Date: 2013-04-25 15:57 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/2a275ccd6a6a/

Log:    (lwassermann, timfel) fix process creation for benchmark in mini
        image

diff --git a/targetimageloadingsmalltalk.py b/targetimageloadingsmalltalk.py
--- a/targetimageloadingsmalltalk.py
+++ b/targetimageloadingsmalltalk.py
@@ -32,7 +32,7 @@
     w_benchmark_proc.store(space, 1, s_frame.w_self())
 
     # third variable is priority
-    priority = 40
+    priority = space.unwrap_int(w_hpp.fetch(space, 2)) / 2 + 1
     w_benchmark_proc.store(space, 2, space.wrap_int(priority))
 
     # make process eligible for scheduling
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to