This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: waiting on threads


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]