VirtualBox

Changeset 70483 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Jan 7, 2018 9:43:45 PM (7 years ago)
Author:
vboxsync
Message:

IPRT/socket,poll: Try fix windows polling bug (not fallback) concerning sockets entered more than once into a poll set. The second handle wouldn't get events.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTPoll.cpp

    r70481 r70483  
    194194        RTTESTI_CHECK(cbRead == sizeof(g_szHello) - 1 && memcmp(achBuf, g_szHello, sizeof(g_szHello) - 1) == 0);
    195195
    196 //        RTTESTI_CHECK_RC(RTPoll(hSet, 0, NULL,  NULL), VERR_TIMEOUT);
    197 //        RTTESTI_CHECK_RC(RTPoll(hSet, 1, NULL,  NULL), VERR_TIMEOUT);
     196        RTTESTI_CHECK_RC(RTPoll(hSet, 0, NULL,  NULL), VERR_TIMEOUT);
     197        RTTESTI_CHECK_RC(RTPoll(hSet, 1, NULL,  NULL), VERR_TIMEOUT);
    198198    }
    199199
     
    229229
    230230    RTTESTI_CHECK_RC(RTPollSetDestroy(hSet), VINF_SUCCESS);
    231 RTLogFlush(NULL);
    232231}
    233232
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