Changeset 92140 in vbox
- Timestamp:
- Oct 29, 2021 9:30:22 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvVMNet.m
r92097 r92140 328 328 xpc_object_t interface_desc; 329 329 dispatch_semaphore_t operation_done; 330 __block vmnet_return_t vmnet_status = VMNET_ SUCCESS;330 __block vmnet_return_t vmnet_status = VMNET_FAILURE; 331 331 __block size_t max_packet_size = 0; 332 332 //__block RTMAC MacAddress; … … 400 400 dispatch_semaphore_signal(operation_done); 401 401 }); 402 dispatch_semaphore_wait(operation_done, dispatch_time(DISPATCH_TIME_NOW, RT_NS_10SEC)); 402 if (dispatch_semaphore_wait(operation_done, dispatch_time(DISPATCH_TIME_NOW, RT_NS_10SEC))) 403 { 404 LogRel(("VMNet: Failed to start VMNET interface due to time out!\n")); 405 return VMNET_FAILURE; 406 } 403 407 404 408 if (vmnet_status != VMNET_SUCCESS)
Note:
See TracChangeset
for help on using the changeset viewer.