Re: Blocking Method Return
Re: Blocking Method Return
- Subject: Re: Blocking Method Return
- From: j o a r <email@hidden>
- Date: Fri, 2 Dec 2005 15:01:21 +0100
On 1 dec 2005, at 20.30, Josh Ferguson wrote:
I'm currently writing a library that implements some asynchronous
networking code and performs a series of tasks. I want the entrypoint
for this library to be synchronous - so that the method doesn't return
until all the networking is done.
Why do you need this functionality to be synchronous? To me it seems
like unnecessary complication. You should be able to change your
design ever so slightly, and just wait for the network operations to
complete before continuing.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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