VirtualBox

Ignore:
Timestamp:
Nov 13, 2008 3:39:15 PM (16 years ago)
Author:
vboxsync
Message:

switching to one event for all sockets

File:
1 edited

Legend:

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

    r14173 r14180  
    733733}
    734734
    735 #if defined(VBOX_WITH_SIMPLEFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS)
    736 void soregister_event(struct NATState *pData, struct socket *so)
    737 {
    738        
    739 #if 0
    740         if (pData->iCurrentSocketIndex >= WSA_MAXIMUM_WAIT_EVENTS * pData->iCurrentEventIndex) {
    741                 pData->iCurrentEventIndex++;
    742         }
    743         so->hNetworkEvent = pData->phEvents[pData->iCurrentEventIndex];
    744         pData->iCurrentSocketIndex++;
    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