Re: Multithreading program regarding write()
Re: Multithreading program regarding write()
- Subject: Re: Multithreading program regarding write()
- From: "Frederick Cheung" <email@hidden>
- Date: Fri, 5 May 2006 10:56:08 +0100
On 5/5/06, Quinn <email@hidden> wrote:
Is there a reason you're doing this with your own thread and "select"
rather than one of the higher-levels of abstraction? My
CFLocalServer sample shows how to create a simple server than handles
connections for multiple requests simultaneously. I do all of the
work using CFSocket, which takes care of all the "select" ugliness
for me.
<http://developer.apple.com/samplecode/CFLocalServer/CFLocalServer.html>
<broken_record> Oh, yes, and use kqueues rather than "select" </broken_record>
Is there then any particular reason (other than time/manpower
contraints) that CFSocket seems to use select and not kqueue ?
Fred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden