From: MenTaLguY Date: 2007-06-12T01:15:48+09:00 Subject: Re: Custom Mutex methods undefined by fastthread On Mon, 11 Jun 2007 23:21:29 +0900, Alex Young wrote: > As you can see, the method definition prior to the fastthread require is > lost. This wasn't a problem with 0.6.4, but is a problem with 1.0. Is > this a genuine bug, or is there a good reason for this? In 1.0, the old Mutex class is swapped out and replaced with a fresh one when fastthread is included. This was necessary to permit requiring fastthread after thread had already been required (RubyGems, for example, needed this). If the classes weren't swapped, then any pre-existing mutexes would suddenly end up with new method definitions, breaking them. -mental