• 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: Multithreading program regarding write()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Multithreading program regarding write()
      • From: Quinn <email@hidden>
References: 
 >Multithreading program regarding write() (From: "Fredrik H. Larsen" <email@hidden>)

  • Prev by Date: Re: Multithreading program regarding write()
  • Next by Date: Re: Multithreading program regarding write()
  • Previous by thread: Re: Multithreading program regarding write()
  • Next by thread: Re: Multithreading program regarding write()
  • Index(es):
    • Date
    • Thread