Author: mturk Date: Wed Sep 2 15:41:31 2009 New Revision: 810576 URL: http://svn.apache.org/viewvc?rev=810576&view=rev Log: Real status name is WAIT_FAILED
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/pmutex.c commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/pmutex.c URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/pmutex.c?rev=810576&r1=810575&r2=810576&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/os/win32/pmutex.c (original) +++ commons/sandbox/runtime/trunk/src/main/native/os/win32/pmutex.c Wed Sep 2 15:41:31 2009 @@ -147,7 +147,7 @@ */ rc = ACR_TIMEUP; } - else if (ws == WAIT_ERROR) { + else if (ws == WAIT_FAILED) { /* We got the error while waiting */ rc = ACR_GET_OS_ERROR(); Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c?rev=810576&r1=810575&r2=810576&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c (original) +++ commons/sandbox/runtime/trunk/src/main/native/os/win32/psema.c Wed Sep 2 15:41:31 2009 @@ -175,7 +175,7 @@ */ rc = ACR_TIMEUP; } - else if (ws == WAIT_ERROR) { + else if (ws == WAIT_FAILED) { /* We got the error while waiting */ rc = ACR_GET_OS_ERROR();