Re: NSRunLoop's limitDateForMode: returns nil
Re: NSRunLoop's limitDateForMode: returns nil
- Subject: Re: NSRunLoop's limitDateForMode: returns nil
- From: Shawn Erickson <email@hidden>
- Date: Wed, 5 Jan 2005 10:13:24 -0800
On Jan 5, 2005, at 10:04 AM, Mont Rothstein wrote:
I have a call
[loop limitDateForMode:NSDefaultRunLoopMode]
that under certain circumstances returns nil. The docs say this will
happen if there are no input sources, but not (that I can find) what
would cause there to be no input sources.
This occurs in a child process forked off of a parent. The idea is
that the parent restarts the child if it dies. The child is a
server process talking to an http server.
Anyone have any ideas on what could cause there to be no input sources
and therefore return nil from the above call?
Are any input sources being added to the run loop? You want to add such
sources (directly or indirectly) before running the run loop.
Also you are talking about processes... do you mean threads instead?
Just making sure I understand what you are talking about.
What is the child "process"? AppKit application, Cocoa tool, etc?
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden