[][src]Crate global_counter

This is a minimal library implementing global, thread-safe counters.

Modules

generic

This module contains a generic, thread-safe counter and the accompanying Inc trait.

primitive

This module contains atomic counters for primitive integer types.

Macros

global_counter

Creates a new generic, global counter, starting from the given value.

global_default_counter

Creates a new generic, global counter, starting from its (inherited) default value.