MPQC
3.0.0-alpha
|
The GlobalCounter class allows processes on the same SMP node to share a counter using SysV IPC semaphores. More...
#include <util/group/globcnt.h>
The GlobalCounter class allows processes on the same SMP node to share a counter using SysV IPC semaphores.
A process can create a GlobalCounter using the void CTOR. This process can share the string representation of the counter with other processes. They can then use the const char * CTOR to create global counters that reference the same global counter.