Question about WaitForSingleObject() ?
From: Knight Lin (lhbb5405_at_hotmail.com)
Date: 02/24/05
- Next message: Henrik: "Including .h files in SDK automatically"
- Previous message: H. Edgar: "Standard SDK50 setup fails"
- Next in thread: Michael J. Salamone: "Re: Question about WaitForSingleObject() ?"
- Reply: Michael J. Salamone: "Re: Question about WaitForSingleObject() ?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Feb 2005 17:20:07 +0800
Hi all:
As we know, function WaitForSingleObject(HANDLE hHandle, DWORD
dwMilliseconds ) returns when the specified object(hHandle) is in the
signaled state or when the time-out(dwMilliseconds ) interval elapses.
But,if the system is busy,then the object is signaled and time-out elapses
at the same time,so which return-value will be returned,WAIT_OBJECT_0(object
is signaled) or WAIT_TIMEOUT(time-out interval elapsed, and the object's
state is nonsignaled) ?
--------------
Knight Lin
- Next message: Henrik: "Including .h files in SDK automatically"
- Previous message: H. Edgar: "Standard SDK50 setup fails"
- Next in thread: Michael J. Salamone: "Re: Question about WaitForSingleObject() ?"
- Reply: Michael J. Salamone: "Re: Question about WaitForSingleObject() ?"
- Messages sorted by: [ date ] [ thread ]