On Jul 25, 2016, at 9:37 PM, Daniel Stenmark wrote:

1. Can I write to two different files using two NSFIleHandles from two threads at the same time?

Yes.

2. Can I read from a single file using two NSFileHandles on two threads at the same time?

Why would you need to do that in the first place?

For example, the app has a resource file with tables. App can do multiple projects simultaneously on threads. Each project may want to access the tables.

@Graham, Jens too: thanks for the answers. I just wanted to be sure of this.

Jan E.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to