Re: Stalling until notification is received

2011-05-31 Thread Ken Thomases
On May 31, 2011, at 9:03 AM, Indragie Karunaratne wrote: > I need to create a simple command line application that will stall (as in > keep running without exiting) until it receives a certain distributed > notification via NSDistributedNotificationCenter. What would be the best way > to go abo

Stalling until notification is received

2011-05-31 Thread Indragie Karunaratne
Hi all, I need to create a simple command line application that will stall (as in keep running without exiting) until it receives a certain distributed notification via NSDistributedNotificationCenter. What would be the best way to go about doing this? I assume I'd have to have a separate threa