From: sos@prospect.com.ru (Sergey Okhapkin)
Subject: RE: waiting on threads
2 May 1997 00:44:10 -0700
Sender: mail@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <01BC56E8.6907C6D0.cygnus.gnu-win32@sos>
Original-To: "gnu-win32@cygnus.com" <gnu-win32@cygnus.com>,
        "'Gregg Jensen'"
	 <greggj@savvis.com>
Encoding: 14 TEXT
Original-Sender: owner-gnu-win32@cygnus.com

Gregg Jensen wrote:
> 
> WaitForMultipleObjects passing the variable hThread
> (which is defined as hThread[7]).  The handle from each
> CreateThread is put into an empty spot in the hThread
> array.  When I call WaitForMultipleObjects, I get an
> error of INVALID_HANDLE_ERROR (or whatever 6 is).  I then

Do You check return value of CreateThread()?

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
