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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top