From: Holger Hans Peter Freyther <[email protected]>

The current priority might not be good enough when being passed
to the Process>>#priority: selector. I don't have an example of
when this happened right now.

2012-09-09  Holger Freyther  <[email protected]>

        * kernel/CallinProcess.st: Copy the priority directly.
---
 ChangeLog               |    4 ++++
 kernel/CallinProcess.st |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 54f72d5..3f945d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-09-09  Holger Freyther  <[email protected]>
+
+       * kernel/CallinProcess.st: Copy the priority directly.
+
 2012-02-22  Paolo Bonzini  <[email protected]>
 
        * kernel/CallinProcess.st: Fix creation of cloned process, reported
diff --git a/kernel/CallinProcess.st b/kernel/CallinProcess.st
index 8094524..3be75ed 100644
--- a/kernel/CallinProcess.st
+++ b/kernel/CallinProcess.st
@@ -68,7 +68,7 @@ invoked me no longer exist).  I am otherwise equivalent to a 
Process.'>
             p instVarAt: i put: (self instVarAt: i) ].
 
         "Start executing the detached process from here."
-        p priority: self priority.
+        p instVarNamed: #priority put: priority.
         p suspendedContext: thisContext copy.
 
         Processor activeProcess == self ifTrue: [
-- 
1.7.10.4


_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to