• 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
Multithreaded file read
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multithreaded file read


  • Subject: Multithreaded file read
  • From: "Roger Herikstad" <email@hidden>
  • Date: Wed, 30 Jul 2008 14:06:03 +0800

Hi,
 I was wondering if anyone on the list has a solution for my problem.
I'm keeping a number of files containing indices into a big (>2GB)
data file. I have a cocoa program that will read these index files and
fetch the appropriate data from the big file, plot it and store as an
image. I would like to run these print operations in parallel, but I'm
concerned that a conflict will arise if two threads are reading into
the same file. The index files are not disjoint, so a particular data
vector could be requested by several threads. Is there a way to handle
this in cocoa? The big file resides on a local network server and is
shared over nfs. Thanks!

~ Roger
_______________________________________________

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

  • Follow-Ups:
    • Re: Multithreaded file read
      • From: Jens Alfke <email@hidden>
    • Re: Multithreaded file read
      • From: "Michael Ash" <email@hidden>
  • Prev by Date: Dragging a header file to XIB Dock
  • Next by Date: Re: Dragging a header file to XIB Dock
  • Previous by thread: Re: Dragging a header file to XIB Dock
  • Next by thread: Re: Multithreaded file read
  • Index(es):
    • Date
    • Thread