Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
thread-pool-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 "common/logging.h"
#include "util/thread-pool.h"
#include "common/names.h"
Include dependency graph for thread-pool-test.cc:

Go to the source code of this file.

Namespaces

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

Functions

void impala::Count (int thread_id, const int &i)
 
 impala::TEST (ThreadPoolTest, BasicTest)
 
int main (int argc, char **argv)
 

Variables

const int impala::NUM_THREADS = 5
 
int impala::thread_counters [NUM_THREADS]
 
mutex impala::thread_mutexes [NUM_THREADS]
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 69 of file thread-pool-test.cc.

References impala::InitGoogleLoggingSafe(), and impala::InitThreading().