Re: DO in all run loop mode
Re: DO in all run loop mode
- Subject: Re: DO in all run loop mode
- From: "Julien Jalon" <email@hidden>
- Date: Thu, 21 Feb 2008 10:19:42 +0100
-[NSConnection addRequestMode:]
Before Leopard, use "pseudo-mode" (id)kCFRunLoopCommonModes.
Since Leopard, use "pseudo-mode" NSRunLoopCommonModes
This will register your connection to all common modes, which means, at
least, default mode, modal mode and event tracking mode.
Beware that this also means you can get called in the middle of a tight
event loop so can get "re-entrancy" problems.
--
Julien
On Wed, Feb 20, 2008 at 4:50 PM, Alexander Cohen <email@hidden>
wrote:
> Hi, is there any way to get Distributed objects working in all run
> loop modes? It seems like as soon as my app puts up a modal dialog, DO
> stops is in sleep mode until the modal goes away?
>
> thanks
>
> AC
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden