From: gwtmp01@... Date: 2007-01-19T05:35:37+09:00 Subject: Re: [BLOG] Concurrency models On Jan 18, 2007, at 1:07 PM, Wilson Bilkovich wrote: > On 1/18/07, gwtmp01@mac.com wrote: >> Does this mean that there is already an implicit understanding >> that some >> methods in the core Ruby classes are inherently thread safe? If so >> are >> *all* core methods thread safe? Is that by design or accident? I >> doubt >> that the entire standard library is thread safe but perhaps large >> parts are? > > They definitely are not. Given that fine-grained locks in library code > do not compose, it's going to take some work to make the whole stdlib > thread-safe once native threads are available. What does 'They' refer to in your comment? The core classes or the standard library? Are there non-thread safe methods in the core classes? I was trying to distinguish between the two groups of classes in my comment. Gary Wright