• 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
Async writing to lots of files at the same time ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Async writing to lots of files at the same time ?


  • Subject: Async writing to lots of files at the same time ?
  • From: Mark Gilbert <email@hidden>
  • Date: Mon, 5 Dec 2005 23:00:57 +0000

Folks.

I need to continuously write data into 128 open files at the same time.

Currently I write one after the other, but I wonder if its worth putting in code to make each write Asynchronous.

Currently the storage aspect is pulling my app down, and so I want to 'smoothen' out the impact disk writing has on the overall operation of my app.

Is Async disk writing a good idea ? Some people have suggested putting the disk writes into another thread (currently on my main thread). I am keen to avoid it impacting on my Core Audio IO Proc which is running on another thread, and can sometimes be pulled down by the disk access.

How would the system deal with 128 async writes. Is this likely to cause problems, or make things better ?

Cheers

Mark Gilbert.


-- email@hidden Tel: +44 208 340 5677 fax: +44 870 055 7790 http://www.gallery.co.uk New Product ! - MetaCorder Location Sound Field Recorder http://www.metacorder.info _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Async writing to lots of files at the same time ?
      • From: Jeff Moore <email@hidden>
    • Re: Async writing to lots of files at the same time ?
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: Get selectRecordInput to show output channels in "input" pop-up
  • Next by Date: Re: Async writing to lots of files at the same time ?
  • Previous by thread: Using Metadata Quicktime API
  • Next by thread: Re: Async writing to lots of files at the same time ?
  • Index(es):
    • Date
    • Thread