Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 9 years ago

Closed 9 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.

Change History (1)

comment:1 Changed 9 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Fixed in changeset:head,310.

Note: See TracTickets for help on using tickets.