Changes in uspace/lib/packet/generic/packet_server.c [01b87dc5:228e490] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/packet/generic/packet_server.c
r01b87dc5 r228e490 135 135 /** Creates a new packet of dimensions at least as given. 136 136 * 137 * Should be used only when the global data are locked. 138 * 137 139 * @param[in] length The total length of the packet, including the header, 138 140 * the addresses and the data of the packet. … … 151 153 packet_t *packet; 152 154 int rc; 153 154 assert(fibril_mutex_is_locked(&ps_globals.lock));155 155 156 156 // already locked … … 233 233 /** Release the packet and returns it to the appropriate free packet queue. 234 234 * 235 * Should be used only when the global data are locked. 236 * 235 237 * @param[in] packet The packet to be released. 236 238 * … … 240 242 int index; 241 243 int result; 242 243 assert(fibril_mutex_is_locked(&ps_globals.lock));244 244 245 245 for (index = 0; (index < FREE_QUEUES_COUNT - 1) &&
Note:
See TracChangeset
for help on using the changeset viewer.