waiting on a thread
waiting on a thread
- Subject: waiting on a thread
- From: Dennis Falling <email@hidden>
- Date: Mon, 13 Dec 2004 10:17:41 -0600
Is there any way to have a method spawn a thread, then wait for that
thread to end before continuing with other calls in that method? Does
this negate the purpose of threads? Basically, I'm calling a method
which will use a few files, and then deleting those files in the
calling method. However, since the method call is a new thread, I'm
deleting the files before that thread ever gets to them. Ideas?
Thanks,
-dennis falling
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden