|
-
March 4th, 2012, 10:06 AM
#1
WaitForMultipleObjects (counter less than number of phandler)
Dear All,
I have a question here.
I'm using WaitForMultipleObjects function.
I have 4 lpHandles.
my software are running fine now.
If let said i change the nCount to 2 but i still pass in 4 lphandles objects,
Will the WaitForMultipleObjects return after the 2 event signaled or it will wait until all the 4 event signaled?
Thanks.
DWORD WINAPI WaitForMultipleObjects(
__in DWORD nCount,
__in const HANDLE *lpHandles,
__in BOOL bWaitAll,
__in DWORD dwMilliseconds
);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|