Eloy Duran
eloy.****@gmail*****
Wed Jul 4 01:10:51 JST 2007
You are welcome :) You can find the code in framework/src/ruby/osx/objc/ruby_addition.rb Eloy On 7/3/07, Satoshi Nakagawa <snaka****@infot*****> wrote: > Hi Eloy. > > > You could set ENV['RUBYCOCOA_THREAD_HOOK_DISABLE'] to true, > > this should override the check. > > That's the information I want to know. > Thanks :) > > -- > Satoshi Nakagawa > > > On 2007/07/03, at 23:15, Eloy Duran wrote: > > > Hi, > > > > You could set ENV['RUBYCOCOA_THREAD_HOOK_DISABLE'] to true, > > this should override the check. > > > > Eloy > > > > On 7/3/07, Satoshi Nakagawa <snaka****@infot*****> wrote: > >> Hi. > >> > >> I saw an error message, when I use Ruby threads on trunk, Tiger. > >> > >> RuntimeError: Ruby threads cannot be used in RubyCocoa without patches to the Ruby > >> > >> Could you allow me to use Ruby threads on the default ruby interpreter 1.8.2 of Tiger? > >> > >> In my application, I use performSelectorOnMainThread_withObject_waitUntilDone > >> to communicate with the main thread from the other threads. > >> I think it's a common manner in writing GUI applications. > >> It works good even on ruby 1.8.2 of Tiger. > >> > >> I want to distribute my software to people using Tiger and the default ruby 1.8.2. > >> Could you enable the threading patch only if the default interpreter > >> on the system supports the patch? > >> > >> > >> -- > >> Satoshi Nakagawa > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel >