Skip to content
Tom Barbette edited this page May 7, 2020 · 1 revision

CounterRxWMP Element Documentation

NAME

CounterRxWMP — Click element;

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:27 on 2018/10/03.

Clone this wiki locally