Stop NSFileManager copyFile in progress? Can you kill a thread?
Stop NSFileManager copyFile in progress? Can you kill a thread?
- Subject: Stop NSFileManager copyFile in progress? Can you kill a thread?
- From: David <email@hidden>
- Date: Mon, 10 Nov 2008 16:45:12 -0500
I have NSFIleManager copying files in a secondary thread. The user can
select to cancel the copy.
Is there a way to force NSFileManager to stop copying a file? The
files could be of arbitrary size. A large file could take quite a
while to end. I currently check if the thread has been cancelled
between files, but I can't figure out how to stop it if its in the
middle of copying one file.
Is there a way to make NSFileManager stop a copy operation?
Is there a way to forcibly kill a thread and thereby stop NSFileManager?
Thanks
_______________________________________________
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