Opened 13 years ago
Closed 13 years ago
#197 closed defect (fixed)
udp_process_client_messages() defines a superfluous variable 'lock'
Reported by: | Jakub Jermář | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 0.4.2 |
Component: | helenos/net/udp | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | ||
See also: |
Description
udp_process_client_messages() is a connection fibril function which declares a local lock:
fibril_rwlock_t lock;
Since no contention for this lock is possible, having this lock does not provide any synchronization.
Note: See
TracTickets for help on using
tickets.
Fixed in changeset:head,310.