• 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: Asynchronous I/O using NSFileHandle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous I/O using NSFileHandle


  • Subject: Re: Asynchronous I/O using NSFileHandle
  • From: Robert Goldsmith <email@hidden>
  • Date: Mon, 29 Jul 2002 10:40:46 +0100

> If you are an IO bound application it is best to try allowing for
> multiple IOs in flight at the same time (a reasonable number of
> IOs for what you are doing).
>
> Granted this doesn't work for all devices but the kernel drivers
> should queue as needed.

Then use multiple threads. If the device can cope with parallel
i/o requests (and the drivers can) the requests will be done in
parallel, if not, they will be done sequentially.

Robert

---
GnuPG public key:
http://www.Far-Blue.co.uk/RSGoldsmith.asc

[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig; charset=US-ASCII]
_______________________________________________
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.

References: 
 >Re: Asynchronous I/O using NSFileHandle (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: NSTableView rows and delete key
  • Next by Date: code example on NSThread
  • Previous by thread: Re: Asynchronous I/O using NSFileHandle
  • Next by thread: Re: Asynchronous I/O using NSFileHandle
  • Index(es):
    • Date
    • Thread