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

Go to the source code of this file.

Classes

struct  impala::IntNode
 

Namespaces

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

Functions

 impala::TEST (InternalQueue, TestBasic)
 
 impala::TEST (InternalQueue, TestRemove)
 
void impala::ProducerThread (InternalQueue< IntNode > *queue, int num_inserts, vector< IntNode > *nodes, AtomicInt< int32_t > *counter, bool *failed)
 
void impala::ConsumerThread (InternalQueue< IntNode > *queue, int num_consumes, int delta, vector< int > *results, bool *failed)
 
 impala::TEST (InternalQueue, TestClear)
 
 impala::TEST (InternalQueue, TestSingleProducerSingleConsumer)
 
 impala::TEST (InternalQueue, TestMultiProducerMultiConsumer)
 
int main (int argc, char **argv)
 

Variables

const int impala::VALIDATE_INTERVAL = 10000
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 294 of file internal-queue-test.cc.