Trying to find a way to tickle a run loop into returning in Mac OS
10.6, I wrote another little tool which, instead of spawning a short-
duration NSTask, sends a message to a mach port which has been added
to the current run loop. To my surprise, result is the same. Running
in Mac OS
On Sep 20, 2009, at 1:38 AM, Jerry Krinock wrote:
Trying to find a way to tickle a run loop into returning in Mac OS
10.6, I wrote another little tool which, instead of spawning a short-
duration NSTask, sends a message to a mach port which has been added
to the current run loop. To my
On 2009 Sep 20, at 02:50, Ken Thomases wrote:
You've got the send port and receive port mixed up here. The send
port is the one you're sending to. The receive port is the one on
which you'd receive any reply, if there is one.
Since the timer user info contains the port which was added
On 2009 Sep 16, at 14:07, Chris Kane wrote:
On Sep 14, 2009, at 6:29 PM, I wrote:
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode
beforeDate:limitTime] ;
// The above will block and be run to here either due to
// the posting of an