Changeset 30601 in vbox
- Timestamp:
- Jul 5, 2010 11:22:54 AM (15 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h
r30560 r30601 289 289 #endif 290 290 #if defined(VBOX_WITH_PAGE_SHARING) && defined(RT_OS_WINDOWS) 291 extern void VBoxServicePageSharingInitFork();291 extern RTEXITCODE VBoxServicePageSharingInitFork(void); 292 292 #endif 293 293 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServicePageSharing.cpp
r30560 r30601 607 607 608 608 #ifdef RT_OS_WINDOWS 609 void VBoxServicePageSharingInitFork() 609 610 /** 611 * This gets control when VBoxService is launched with -pagefusionfork by 612 * VBoxServicePageSharingWorkerProcess(). 613 * 614 * @returns RTEXITCODE_SUCCESS. 615 * 616 * @remarks It won't normally return since the parent drops the shutdown hint 617 * via RTProcTerminate(). 618 */ 619 RTEXITCODE VBoxServicePageSharingInitFork(void) 610 620 { 611 621 VBoxServiceVerbose(3, "VBoxServicePageSharingInitFork\n"); … … 614 624 VBoxServicePageSharingInit(); 615 625 VBoxServicePageSharingWorker(&fShutdown); 626 627 return RTEXITCODE_SUCCESS; 616 628 } 617 629 … … 649 661 pszArgs[1] = "-pagefusionfork"; 650 662 pszArgs[2] = NULL; 651 /* Start a 2nd VBoxService process to deal with page fusion as we do not wish to dummy load 663 /* Start a 2nd VBoxService process to deal with page fusion as we do not wish to dummy load 652 664 * dlls into this process. (first load with DONT_RESOLVE_DLL_REFERENCES, 2nd normal -> dll init routines not called!) 653 665 */ … … 686 698 } 687 699 688 #endif 700 #endif /* RT_OS_WINDOWS */ 689 701 690 702 /** @copydoc VBOXSERVICE::pfnTerm */
Note:
See TracChangeset
for help on using the changeset viewer.