VirtualBox

Changeset 14173 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Nov 13, 2008 1:13:01 PM (16 years ago)
Author:
vboxsync
Message:

one event for all sockets (for investigations)

Location:
trunk/src/VBox/Devices/Network/slirp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r14165 r14173  
    547547        *pnfds = nfds;
    548548#else
    549         *pnfds = WSA_MAXIMUM_WAIT_EVENTS;
     549        *pnfds = pData->iCurrentEventIndex;
    550550#endif
    551551}
  • trunk/src/VBox/Devices/Network/slirp/socket.c

    r14168 r14173  
    737737{
    738738       
     739#if 0
    739740        if (pData->iCurrentSocketIndex >= WSA_MAXIMUM_WAIT_EVENTS * pData->iCurrentEventIndex) {
    740741                pData->iCurrentEventIndex++;
     
    742743        so->hNetworkEvent = pData->phEvents[pData->iCurrentEventIndex];
    743744        pData->iCurrentSocketIndex++;
    744 }
    745 #endif
     745#else
     746        pData->iCurrentEventIndex = 2;
     747        so->hNetworkEvent = pData->phEvents[1];
     748#endif
     749}
     750#endif
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