Public Member Functions | List of all members
ibis::util::sharedInt64 Class Reference

A unsigned 64-bit shared integer class. More...

#include <util.h>

Public Member Functions

uint64_t operator() () const
 Read the current value.
 
uint64_t operator++ ()
 Increment operator.
 
void operator+= (const uint64_t rhs)
 In-place addition operator.
 
uint64_t operator-- ()
 Decrement operator.
 
void operator-= (const uint64_t rhs)
 In-place subtraction operator.
 

Detailed Description

A unsigned 64-bit shared integer class.

It allows multiple threads to safely operate on the integer through the use of the atomic operations provided by GCC extension. If the atomic extension is not available, it falls back on the mutual exclusion lock provided by pthread library.

See also
ibis::util::sharedInt32

The documentation for this class was generated from the following file:

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive