libcutils/mq.c
static void peerProxyLockAndEnqueueOutgoingPacket(PeerProxy* peerProxy,
        OutgoingPacket* newPacket) {
    Peer* peer = peerProxy->peer;
    peerLock(peer);
    peerProxyEnqueueOutgoingPacket(peerProxy, newPacket);
    peerUnlock(peer);
}
/** Takes the peer lock and enqueues the given packet. */
Takes the peer lock and enqueues the given packet.
Takes the peer lock and enqueues the given packet .
static void peerProxyLockAndEnqueueOutgoingPacket(PeerProxy* peerProxy,
        OutgoingPacket* newPacket) {
    Peer* peer = peerProxy->peer;
    peerLock(peer);
    peerProxyEnqueueOutgoingPacket(peerProxy, newPacket);
    peerUnlock(peer);
}
static void peerProxyLockAndEnqueueOutgoingPacket ( PeerProxy * peerProxy , OutgoingPacket * newPacket ) { Peer * peer = peerProxy -> peer ; peerLock ( peer ) ; peerProxyEnqueueOutgoingPacket ( peerProxy , newPacket ) ; peerUnlock ( peer ) ; }
Takes the peer lock and enqueues the given packet.
Takes the peer lock and enqueues the given packet .