VirtualBox

Changeset 50070 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 14, 2014 3:34:55 AM (11 years ago)
Author:
vboxsync
Message:

Define lwip_sys_sem_wait() properly. Adjust callers.

Location:
trunk/src/VBox/Devices/Network/lwip-new/vbox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/lwip-new/vbox/VBoxLwipCore.cpp

    r48108 r50070  
    149149        }
    150150
    151         lwip_sys_sem_wait(&g_LwipCore.LwipTcpIpSem, 0);
     151        lwip_sys_sem_wait(&g_LwipCore.LwipTcpIpSem);
    152152        ++g_LwipCore.iLWIPInitiatorCounter;
    153153    }
     
    212212
    213213        if (lwipRc == ERR_OK)
    214             lwip_sys_sem_wait(&g_LwipCore.LwipTcpIpSem, 0);
     214            lwip_sys_sem_wait(&g_LwipCore.LwipTcpIpSem);
    215215    }
    216216
  • trunk/src/VBox/Devices/Network/lwip-new/vbox/include/lwip-namespace.h

    r48439 r50070  
    148148#define sys_sem_new lwip_sys_sem_new
    149149#define sys_sem_signal lwip_sys_sem_signal
    150 #define lwip_sys_sem_wait lwip_sys_arch_sem_wait
     150#define lwip_sys_sem_wait sys_sem_wait
    151151#define sys_arch_sem_wait lwip_sys_arch_sem_wait
    152152#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