VirtualBox

Ignore:
Timestamp:
Jun 4, 2009 1:21:19 PM (16 years ago)
Author:
vboxsync
Message:

libs/xpcom: fix race for EventQueueService singleton creation, which causes the client to be unresponsive to requests from VBoxSVC, causing lots of trouble. Also a few other minor bugfixes which can lead to crashes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp

    r18899 r20282  
    525525        IPC_InitModuleReg(argv[0]);
    526526
     527#ifdef VBOX
     528        // Use large backlog, as otherwise local sockets can reject connection
     529        // attempts. Usually harmless, but causes an unnecessary start attempt
     530        // of IPCD (which will terminate straight away), and the next attempt
     531        // usually succeeds. But better avoid unnecessary activities.
     532        if (PR_Listen(listenFD, 128) != PR_SUCCESS) {
     533#else /* !VBOX */
    527534        if (PR_Listen(listenFD, 5) != PR_SUCCESS) {
     535#endif /* !VBOX */
    528536            LOG(("PR_Listen failed [%d]\n", PR_GetError()));
    529537        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette