delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/02/00:44:10

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019