VirtualBox

Ignore:
Timestamp:
Apr 20, 2018 9:31:06 PM (7 years ago)
Author:
vboxsync
Message:

socket.cpp: Windows polling fixes for problem where we got stuck returning RTPOLL_EVT_READ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/init-win.cpp

    r71150 r71950  
    103103/** WSACloseEvent  */
    104104DECLHIDDEN(PFNWSACLOSEEVENT)                g_pfnWSACloseEvent = NULL;
     105/** WSASetEvent */
     106DECLHIDDEN(PFNWSASETEVENT)                  g_pfnWSASetEvent = NULL;
    105107/** WSAEventSelect   */
    106108DECLHIDDEN(PFNWSAEVENTSELECT)               g_pfnWSAEventSelect = NULL;
     
    363365    g_pfnWSACreateEvent       = (decltype(g_pfnWSACreateEvent))     GetProcAddress(g_hModWinSock, "WSACreateEvent");
    364366    g_pfnWSACloseEvent        = (decltype(g_pfnWSACloseEvent))      GetProcAddress(g_hModWinSock, "WSACloseEvent");
     367    g_pfnWSASetEvent          = (decltype(g_pfnWSASetEvent))        GetProcAddress(g_hModWinSock, "WSASetEvent");
    365368    g_pfnWSAEventSelect       = (decltype(g_pfnWSAEventSelect))     GetProcAddress(g_hModWinSock, "WSAEventSelect");
    366369    g_pfnWSAEnumNetworkEvents = (decltype(g_pfnWSAEnumNetworkEvents))GetProcAddress(g_hModWinSock,"WSAEnumNetworkEvents");
     
    392395    Assert(g_pfnWSACreateEvent       || g_fOldWinSock);
    393396    Assert(g_pfnWSACloseEvent        || g_fOldWinSock);
     397    Assert(g_pfnWSASetEvent          || g_fOldWinSock);
    394398    Assert(g_pfnWSAEventSelect       || g_fOldWinSock);
    395399    Assert(g_pfnWSAEnumNetworkEvents || g_fOldWinSock);
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