FastClick

Elements / Research

CounterRxWMP

SYNOPSIS --------

SYNOPSIS§

CounterRxWMP()
Counter duplicated per-thread, protected by a RxW lock

Ports: 1 input, 1 output
Processing: agnostic
Drivers: userlevel

DESCRIPTION§

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.

SEE ALSO§

CounterRxWMPPR, CounterRXWMPPW

Generated by click-elem2man from ../elements/research/extendedcounters.hh:24 on 2026/11/02.