Re: Grand Central Details
Re: Grand Central Details
- Subject: Re: Grand Central Details
- From: Michael Gardner <email@hidden>
- Date: Tue, 17 Jun 2008 20:02:29 -0500
On Jun 17, 2008, at 7:17 PM, Pierce T. Wetter III wrote:
If you've ever used CoreNetwork you might get the idea, because
CFNetwork is event-driven, rather then the shitty thread-per-socket
style that CS students are taught. So you can easily handle a
zillion connections with CoreNetwork.
Too bad you can't avoid blocking at least occasionally with the event-
driven APIs, meaning you still have to use threads to avoid it
completely. And I fail to see what's so bad about having one thread
per socket. Is it because Threads Are Hard?
-Michael
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden