Changeset 103300 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Feb 11, 2024 8:33:57 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/xpcom/server.cpp
r102052 r103300 664 664 } 665 665 666 #ifdef VBOX_WITH_XPCOMIPCD_IN_VBOX_SVC 667 668 #include <iprt/thread.h> 669 670 DECL_IMPORT_NOTHROW(int) RTCALL VBoxXpcomIpcdCreate(PRTTHREAD phThrdIpcd); 671 DECL_IMPORT_NOTHROW(int) RTCALL VBoxXpcomIpcdDestroy(RTTHREAD hThrdIpcd); 672 #endif 673 666 674 int main(int argc, char **argv) 667 675 { … … 824 832 }; 825 833 834 #ifdef VBOX_WITH_XPCOMIPCD_IN_VBOX_SVC 835 RTTHREAD hThrdIpcd = NIL_RTTHREAD; 836 vrc = VBoxXpcomIpcdCreate(&hThrdIpcd); 837 if (RT_FAILURE(vrc)) 838 return RTMsgErrorExit(RTEXITCODE_FAILURE, "failed to create IPC daemon thread -> %Rrc", vrc); 839 #endif 840 826 841 do /* goto avoidance only */ 827 842 { … … 1003 1018 RTMsgError("Failed to shutdown XPCOM! (rc=%Rhrc)", rc); 1004 1019 1020 #ifdef VBOX_WITH_XPCOMIPCD_IN_VBOX_SVC 1021 vrc = VBoxXpcomIpcdDestroy(hThrdIpcd); 1022 AssertRC(vrc); 1023 #endif 1024 1005 1025 RTPrintf("XPCOM server has shutdown.\n"); 1006 1026
Note:
See TracChangeset
for help on using the changeset viewer.