-
Notifications
You must be signed in to change notification settings - Fork 81
CounterRxWMP
Tom Barbette edited this page May 7, 2020
·
1 revision
CounterRxWMP — Click element;
CounterRxWMP()
Counter duplicated per-thread, protected by a RxW lock
Ports: 1 input, 1 output
Processing: agnostic
Drivers: userlevel
The RxW lock allows either multiple writers or multiple readers, so this counter has the ability to give an atomic view of the aggregated state.
The CounterRxWMPPR and CounterRxWMPW respectively prefer reads and writes, that is when a read/write comes, no write/read can start, ensuring no starvation.
CounterRxWMPPR, CounterRXWMPPW
Generated by click-elem2man from ../elements/research/extendedcounters.hh:27
on 2018/10/03.