Re: Synchronous method: How to "wait" for Notification to occur?
Re: Synchronous method: How to "wait" for Notification to occur?
- Subject: Re: Synchronous method: How to "wait" for Notification to occur?
- From: Chris Hanson <email@hidden>
- Date: Fri, 22 Aug 2003 01:58:38 -0500
On Thursday, August 21, 2003, at 02:26 PM, Rolf wrote:
A class I have created has a synchronous method which must not return
until some asynchronous operation has completed and the result is
ready.
This probably isn't what you want to hear, but I think your best bet is
to change your code not to depend on this method being synchronous.
Instead, let it be driven by the completion notification's delivery.
-- Chris
--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Mac OS X Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.