Hi,
I have a c# threading question:
I have a main thread which calls a child thread process. While the child thread is running the main thread works on tasks. Is it possible for the main thread to know as soon as the child thread has completed and then allow the main thread to perform a cleanup task before returning back to its regular tasks? What I don't want to do is childThread.joi n() as this would cause the main thread to wait for the child thread to finish. I just want to be signaled immediately after the child is finished so that I can perform cleanup and then continue with regular tasks.
Thanks
Sam Palmer,
I have a c# threading question:
I have a main thread which calls a child thread process. While the child thread is running the main thread works on tasks. Is it possible for the main thread to know as soon as the child thread has completed and then allow the main thread to perform a cleanup task before returning back to its regular tasks? What I don't want to do is childThread.joi n() as this would cause the main thread to wait for the child thread to finish. I just want to be signaled immediately after the child is finished so that I can perform cleanup and then continue with regular tasks.
Thanks
Sam Palmer,
Comment