Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/packet/generic/packet_server.c

    r01b87dc5 r228e490  
    135135/** Creates a new packet of dimensions at least as given.
    136136 *
     137 * Should be used only when the global data are locked.
     138 *
    137139 * @param[in] length    The total length of the packet, including the header,
    138140 *                      the addresses and the data of the packet.
     
    151153        packet_t *packet;
    152154        int rc;
    153 
    154         assert(fibril_mutex_is_locked(&ps_globals.lock));
    155155
    156156        // already locked
     
    233233/** Release the packet and returns it to the appropriate free packet queue.
    234234 *
     235 * Should be used only when the global data are locked.
     236 *
    235237 * @param[in] packet    The packet to be released.
    236238 *
     
    240242        int index;
    241243        int result;
    242 
    243         assert(fibril_mutex_is_locked(&ps_globals.lock));
    244244
    245245        for (index = 0; (index < FREE_QUEUES_COUNT - 1) &&
Note: See TracChangeset for help on using the changeset viewer.