Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
atomic-test.cc File Reference
#include <string>
#include <gtest/gtest.h>
#include <boost/thread.hpp>
#include "common/atomic.h"
#include "common/names.h"
Include dependency graph for atomic-test.cc:

Go to the source code of this file.

Namespaces

 impala
 This file contains type definitions that are used throughout the code base.
 

Typedefs

typedef function< void(int64_t,
int64_t, AtomicInt< int > *)> 
impala::Fn
 

Functions

 impala::TEST (AtomicTest, Basic)
 
 impala::TEST (AtomicTest, TestAndSet)
 
void impala::IncrementThread (int64_t id, int64_t n, AtomicInt< int > *ai)
 
void impala::DecrementThread (int64_t id, int64_t n, AtomicInt< int > *ai)
 
 impala::TEST (AtomicTest, MultipleThreadsIncDec)
 
void impala::CASIncrementThread (int64_t id, int64_t n, AtomicInt< int > *ai)
 
void impala::CASDecrementThread (int64_t id, int64_t n, AtomicInt< int > *ai)
 
 impala::TEST (AtomicTest, MultipleThreadsCASIncDec)
 
int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 198 of file atomic-test.cc.