• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Synchronous method: How to "wait" for Notification to occur?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Synchronous method: How to "wait" for Notification to occur?
      • From: Wade Tregaskis <email@hidden>
References: 
 >Synchronous method: How to "wait" for Notification to occur? (From: Rolf <email@hidden>)

  • Prev by Date: Re: OCUnit
  • Next by Date: Associating file type with icon
  • Previous by thread: Re: Synchronous method: How to "wait" for Notification to occur?
  • Next by thread: Re: Synchronous method: How to "wait" for Notification to occur?
  • Index(es):
    • Date
    • Thread