4/24/08

Explain WaitForSingleObject() & WaitforMultipleObject().

WaitForSingleObject() waits for a thread(object) to return.
if provided time out waits till lapse of time period.
if it is INFINITE wait till thread returns.

WaitforMultipleObject() waits for no. of object
can wait for all object or can wait to return single object rest same as WaitForSingleObejct.

No comments: