Changeset 93158 in vbox
- Timestamp:
- Jan 10, 2022 12:01:55 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/TestExecServ/TestExecService.cpp
r93115 r93158 2179 2179 uint64_t MsProcessKilled = UINT64_MAX; 2180 2180 RTMSINTERVAL const cMsPollBase = g_pTransport->pfnPollSetAdd || pTxsExec->hStdInW == NIL_RTPIPE 2181 ? 5000: 100;2181 ? RT_MS_5SEC : 100; 2182 2182 RTMSINTERVAL cMsPollCur = 0; 2183 2183 … … 2277 2277 fProcessTimedOut = true; 2278 2278 if ( MsProcessKilled == UINT64_MAX 2279 || u64Now - MsProcessKilled > 1000)2279 || u64Now - MsProcessKilled > RT_MS_1SEC) 2280 2280 { 2281 if (u64Now - MsProcessKilled > 20*60*1000) 2281 if ( MsProcessKilled != UINT64_MAX 2282 && u64Now - MsProcessKilled > 20*RT_MS_1MIN) 2282 2283 break; /* give up after 20 mins */ 2283 2284 RTCritSectEnter(&pTxsExec->CritSect); … … 2288 2289 continue; 2289 2290 } 2290 cMilliesLeft = 10000;2291 cMilliesLeft = RT_MS_10SEC; 2291 2292 } 2292 2293 else … … 2305 2306 for (size_t i = 0; i < 22; i++) 2306 2307 { 2307 rc2 = RTThreadWait(pTxsExec->hThreadWaiter, 500, NULL);2308 rc2 = RTThreadWait(pTxsExec->hThreadWaiter, RT_MS_1SEC / 2, NULL); 2308 2309 if (RT_SUCCESS(rc)) 2309 2310 {
Note:
See TracChangeset
for help on using the changeset viewer.