VirtualBox

Changeset 13639 in vbox


Ignore:
Timestamp:
Oct 29, 2008 3:51:51 AM (16 years ago)
Author:
vboxsync
Message:

mutex creation moved in allocation part of m_get

File:
1 edited

Legend:

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

    r13616 r13639  
    7575                }
    7676#ifdef VBOX_WITH_SYNC_SLIRP
     77                RTSemMutexCreate(&m->m_mutex);
    7778                RTSemMutexRequest(pData->mbuf_alloced_mutex, RT_INDEFINITE_WAIT);
    7879#endif
     
    9798        m->m_flags = (flags | M_USEDLIST);
    9899#ifdef VBOX_WITH_SYNC_SLIRP
    99         RTSemMutexCreate(&m->m_mutex);
    100100        RTSemMutexRequest(m->m_mutex, RT_INDEFINITE_WAIT);
    101101        RTSemMutexRelease(pData->m_usedlist_mutex);
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