VirtualBox

Changeset 31212 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jul 29, 2010 1:41:27 PM (14 years ago)
Author:
vboxsync
Message:

socket.cpp: renamed function to better reflect what's going on now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/socket.cpp

    r31189 r31212  
    13521352 * @param   pThis               The socket handle.
    13531353 */
    1354 static int rtSocketPollClearEventAndMakeBlocking(RTSOCKETINT *pThis)
     1354static int rtSocketPollClearEventAndRestoreBlocking(RTSOCKETINT *pThis)
    13551355{
    13561356    int rc = VINF_SUCCESS;
     
    13621362
    13631363            /*
    1364              * Don't switch back to blocking mode if the socket is currently
    1365              * operated in non-blocking mode.
     1364             * Switch back to blocking mode if that was the state before the
     1365             * operation.
    13661366             */
    13671367            if (pThis->fBlocking)
     
    15261526        if (pThis->cUsers == 1)
    15271527        {
    1528             rtSocketPollClearEventAndMakeBlocking(pThis);
     1528            rtSocketPollClearEventAndRestoreBlocking(pThis);
    15291529            pThis->hPollSet = NIL_RTPOLLSET;
    15301530        }
     
    15661566    if (pThis->cUsers == 1)
    15671567    {
    1568         rtSocketPollClearEventAndMakeBlocking(pThis);
     1568        rtSocketPollClearEventAndRestoreBlocking(pThis);
    15691569        pThis->hPollSet = NIL_RTPOLLSET;
    15701570    }
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