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

From: greggj AT savvis DOT com (Gregg Jensen)
Subject: RE: waiting on threads
2 May 1997 14:23:00 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.1.32.19970501080006.00945bb0.cygnus.gnu-win32@mail.savvis.com>
Mime-Version: 1.0
X-Sender: greggj AT mail DOT savvis DOT com
X-Mailer: Windows Eudora Light Version 3.0.1 (32)
Original-To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
Original-Cc: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>
In-Reply-To: <01BC56E8.6907C6D0@sos>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

At 11:02 AM 5/2/97 +0400, Sergey Okhapkin wrote:
>Gregg Jensen wrote:
>> 
>> WaitForMultipleObjects passing the variable hThread
....
>> error of INVALID_HANDLE_ERROR (or whatever 6 is).  I then
>
>Do You check return value of CreateThread()?

Yes. Well, I called GetLastError after each CreateThread and
it returned 0.  But, maybe there is another way that I am
unaware of.  The result of GetLastError was 0. 

Gregg

BTW, this is my first forray into the NT/Windows programming
world, so I am just learning the Microsoft way.

-
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