Hi,
In message "[ruby-talk:02599] Re: different thread semantics 1.4.3 -> 1.4.4"
on 00/04/28, Yukihiro Matsumoto <matz / netlab.co.jp> writes:
||As you can see, time-slicing has left the building. What is wrong?
|
|That's because time-slicing bug reported on [ruby-talk:1551].
Oops, problem was not there. It's in thread.rb. Sorry.
I happened to have removed context switching from Mutex#unlock.
Here's the patch.
--- thread.rb.orig Sat Apr 29 01:20:49 2000
+++ thread.rb Sat Apr 29 01:20:52 2000
@@ -71,6 +71,7 @@
retry
end
Thread.critical = false
+ Thread.pass
self
end