Waiting on a thread handle....

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H

I Wonder... How can I wait on a terminating thread using C#
what is the C# equivalent of the following code section
HANDLE hThread = CreateThread(.......
...
...
WaitForSingleObject(hThread, -1); <- What is the equivalent of 'WaitForSingleObject'

Guy
 
Back
Top