[pypy-commit] lang-smalltalk default: Changed the priority of eventual spawned processes to 41, because 40 is the user-priority in newer Squeak images.
lwassermann
noreply at buildbot.pypy.org
Tue May 28 18:27:19 CEST 2013
Author: Lars Wassermann <lars.wassermann at gmail.com>
Branch:
Changeset: r419:7518cab03fce
Date: 2013-05-28 18:27 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/7518cab03fce/
Log: Changed the priority of eventual spawned processes to 41, because 40
is the user-priority in newer Squeak images. This breaks the method-
calling behavior for the mini-images but hopefully re-enables
benchmarking.
diff --git a/targetimageloadingsmalltalk.py b/targetimageloadingsmalltalk.py
--- a/targetimageloadingsmalltalk.py
+++ b/targetimageloadingsmalltalk.py
@@ -36,7 +36,7 @@
# third variable is priority
priority = space.unwrap_int(w_hpp.fetch(space, 2)) / 2 + 1
# Priorities below 10 are not allowed in newer versions of Squeak.
- priority = max(11, priority)
+ priority = max(41, priority)
w_benchmark_proc.store(space, 2, space.wrap_int(priority))
# make process eligible for scheduling
More information about the pypy-commit
mailing list