Hello list,

I find Appleā€™s documentation on this unclear. It says:

"NSFileHandle, NSData, Cocoa streams:

Most of the Foundation objects you use to read and write file data can be used 
from any single thread but should not be used from multiple threads 
simultaneously."

For example I would like to know:

1. Can I write to two different files using two NSFIleHandles from two threads 
at the same time?
2. Can I read from a single file using two NSFileHandles on two threads at the 
same time?

TIA,

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