Multithreaded file read
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