|
Use the following code to create the thread
osThread = new Thread (new ThreadStart (oService.SocketRun));
osThread.Start ();
oService.SocketRun uses return to return after completing the task
I found that the handle added by the creating thread is not released. Is there any way for the prawns to release the handle, or what other methods are automatically terminated by the child thread without the need to terminate by the parent thread? Thanks a lot |
|