remove ill-formatted comment (I feel like I've asked him to space comments

readably, like the rest of the code, half a dozen times).

The function is probably just returning ERROR_CALL_NOT_IMPLEMENTED.
If it's returning some other error, find out what it is and add it to the conditional.  Don't
just break out without understanding the logic of the rest of the function.
This commit is contained in:
Glenn Maynard
2005-02-12 06:21:29 +00:00
parent 0051938177
commit 23d907e3d4
+1 -10
View File
@@ -298,6 +298,7 @@ static bool PortableSignalObjectAndWait( HANDLE hObjectToSignal, HANDLE hObjectT
/* The docs aren't particular about what this does, but it should never happen. */
FAIL_M( "WAIT_ABANDONED" );
case 1: /* bogus Win98 return value */
case WAIT_FAILED:
if( GetLastError() == ERROR_CALL_NOT_IMPLEMENTED )
{
@@ -308,16 +309,6 @@ static bool PortableSignalObjectAndWait( HANDLE hObjectToSignal, HANDLE hObjectT
FAIL_M( werr_ssprintf(GetLastError(), "SignalObjectAndWait") );
//Strange. Only (and always) occours on 9x.
//If you look at the error from it, it responds
//and says that the function is only available in
//win32 mode.
//This function is not fully supported in 9x.
//Program execution will continue properly if you
//break.
case 1:
break;
case WAIT_TIMEOUT:
return false;