From: Dave Thomas Date: 2001-12-20T08:58:48+09:00 Subject: [ruby-talk:29037] Re: A Ruby programmer walked into a bar and ordered a Ruby-Thread HarryO writes: > On Thu, 20 Dec 2001 07:58:47 +1100, Dave Thomas wrote: > > > Well, not really. Under Windows, there doesn't seem to be any switching > > between threads in some circumstances. Each thread runs to completion, > > and then another starts. Although arguably correct in a theoretical > > sense, it isn't much use in practice. Under Unix, threads play nicely > > with each other (hence the example with counters in the book). > > In which case, the concept that the threading is done in the interpreter > to make it OS independent seems a little "dodgey" for want of a > better word. There's not a lot of point having threads if they don't > effectively run in parallel. It's a bug, not expected behavior. It just needs to get fixed. Dave