See http://staff.develop.com/woodring/dotnet/#ThreadWaitHandle for a complete sample that's cleaned up a bit and does the handle duplication I was referring to earlier. Be sure to read the caveats described in the comments if you want to actually use the ThreadWaitHandle class in your code...
-Mike http://staff.develop.com/woodring http://www.develop.com/devresources ----- Original Message ----- From: "Mike Woodring" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 20, 2002 1:28 AM Subject: Re: [DOTNET] Waiting for multiple Threads > I did a little poking around in the debugger and came up with some "working > code" that you might want to take and run with. [snip] You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.