This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: waiting on threads
- To: Sergey Okhapkin <sos at prospect dot com dot ru>
- Subject: RE: waiting on threads
- From: greggj at savvis dot com (Gregg Jensen)
- Date: Thu, 01 May 1997 08:00:06 -0500
- Cc: "gnu-win32 at cygnus dot com" <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@cygnus.com" with one line of text: "help".