From: Thomas Sondergaard Date: 2003-09-04T20:45:34+09:00 Subject: Re: Ruby interpreter thread safety > The general solution for any threaded code making calls to a non-thread > safe library is to do one of the following: > > (a) Make calls into the library (callbacks in your case) from > only a single thread. > or (b) Serialize calls to the library by using a mutex of some type. Got it! Thomas