Changeset 104003 in vbox for trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
- Timestamp:
- Mar 22, 2024 4:13:12 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r104001 r104003 1079 1079 if (RT_SUCCESS(vrc)) 1080 1080 { 1081 vrc = pEvent->Wait( 30 * 1000);1081 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 1082 1082 if (RT_SUCCESS(vrc)) 1083 1083 { … … 1244 1244 if (RT_SUCCESS(vrc)) 1245 1245 { 1246 vrc = pEvent->Wait( 30 * 1000);1246 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 1247 1247 if (pEvent->HasGuestError() && pvrcGuest) 1248 1248 *pvrcGuest = pEvent->GuestResult(); … … 1400 1400 if (RT_SUCCESS(vrc)) 1401 1401 { 1402 vrc = pEvent->Wait( 30 * 1000);1402 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 1403 1403 if (RT_SUCCESS(vrc)) 1404 1404 { … … 1859 1859 if (RT_SUCCESS(vrc)) 1860 1860 { 1861 vrc = pEvent->Wait( 30 * 1000);1861 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 1862 1862 if (RT_SUCCESS(vrc)) 1863 1863 { … … 1990 1990 { 1991 1991 int vrcGuest = VERR_IPE_UNINITIALIZED_STATUS; 1992 vrc = pFile->i_open( 30 * 1000 /* 30s timeout */, &vrcGuest);1992 vrc = pFile->i_open(GSTCTL_DEFAULT_TIMEOUT_MS, &vrcGuest); 1993 1993 if ( vrc == VERR_GSTCTL_GUEST_ERROR 1994 1994 && pvrcGuest) … … 2141 2141 if (RT_SUCCESS(vrc)) 2142 2142 { 2143 vrc = pEvent->Wait( 30 * 1000);2143 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 2144 2144 if (RT_SUCCESS(vrc)) 2145 2145 { … … 2218 2218 if (RT_SUCCESS(vrc)) 2219 2219 { 2220 vrc = pEvent->Wait( 30 * 1000);2220 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 2221 2221 if (RT_SUCCESS(vrc)) 2222 2222 { … … 2796 2796 { 2797 2797 vrc = i_waitForStatusChange(pEvent, GuestSessionWaitForFlag_Start, 2798 30 * 1000 /* 30s timeout */, 2799 NULL /* Session status */, pvrcGuest); 2798 GSTCTL_DEFAULT_TIMEOUT_MS, NULL /* Session status */, pvrcGuest); 2800 2799 } 2801 2800 else … … 3091 3090 if (RT_SUCCESS(vrc)) 3092 3091 { 3093 vrc = pEvent->Wait( 30 * 1000);3092 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 3094 3093 if (pEvent->HasGuestError() && pvrcGuest) 3095 3094 *pvrcGuest = pEvent->GuestResult(); … … 3134 3133 if (RT_SUCCESS(vrc)) 3135 3134 { 3136 vrc = pEvent->Wait( 30 * 1000);3135 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 3137 3136 if (RT_SUCCESS(vrc)) 3138 3137 { … … 3187 3186 if (RT_SUCCESS(vrc)) 3188 3187 { 3189 vrc = pEvent->Wait( 30 * 1000);3188 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 3190 3189 if (RT_SUCCESS(vrc)) 3191 3190 { … … 3237 3236 if (RT_SUCCESS(vrc)) 3238 3237 { 3239 vrc = pEvent->Wait( 30 * 1000);3238 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 3240 3239 if (RT_SUCCESS(vrc)) 3241 3240 { … … 3621 3620 if (RT_SUCCESS(vrc)) 3622 3621 { 3623 vrc = pEvent->Wait( 30 * 1000);3622 vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS); 3624 3623 if (RT_FAILURE(vrc)) 3625 3624 {
Note:
See TracChangeset
for help on using the changeset viewer.