- Timestamp:
- Jun 24, 2009 9:38:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/testcase/tstSupSem-Zombie.cpp
r20904 r20905 59 59 SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser; 60 60 RTThreadUserSignal(hSelf); 61 return SUPSemEventWaitNoResume(g_pSession, hEvent, 120*1000); 61 int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, 120*1000); 62 AssertReleaseMsgFailed(("%Rrc\n", rc)); 63 return rc; 62 64 } 63 65 … … 67 69 SUPSEMEVENTMULTI hEventMulti = (SUPSEMEVENTMULTI)pvUser; 68 70 RTThreadUserSignal(hSelf); 69 return SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, 120*1000); 71 int rc = SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, 120*1000); 72 AssertReleaseMsgFailed(("%Rrc\n", rc)); 73 return rc; 70 74 } 71 75 … … 75 79 SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser; 76 80 RTThreadUserSignal(hSelf); 77 return SUPSemEventWaitNoResume(g_pSession, hEvent, RT_INDEFINITE_WAIT); 81 int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, RT_INDEFINITE_WAIT); 82 AssertReleaseMsgFailed(("%Rrc\n", rc)); 83 return rc; 78 84 } 79 85 … … 83 89 SUPSEMEVENTMULTI hEventMulti = (SUPSEMEVENTMULTI)pvUser; 84 90 RTThreadUserSignal(hSelf); 85 return SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, RT_INDEFINITE_WAIT); 91 int rc = SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, RT_INDEFINITE_WAIT); 92 AssertReleaseMsgFailed(("%Rrc\n", rc)); 93 return rc; 86 94 } 87 95 … … 196 204 || Status.iStatus != 0)) 197 205 { 198 RTTestIFailed("child % u (%d) reason %d\n", Status.iStatus, Status.iStatus, Status.enmReason);206 RTTestIFailed("child %d (%#x) reason %d\n", Status.iStatus, Status.iStatus, Status.enmReason); 199 207 rc = VERR_PERMISSION_DENIED; 200 208 }
Note:
See TracChangeset
for help on using the changeset viewer.