[Rubycocoa-devel 1062] Re: Ruby Thread with RubyCocoa

Back to archive index

Satoshi Nakagawa snaka****@infot*****
Wed Jul 4 00:48:44 JST 2007


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




More information about the Rubycocoa-devel mailing list
Back to archive index