Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
thrift-thread.h File Reference
#include <thrift/concurrency/Thread.h>
#include "common/logging.h"
#include "util/thread.h"
#include "util/promise.h"
Include dependency graph for thrift-thread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  impala::ThriftThreadFactory
 
class  impala::ThriftThread
 

Namespaces

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

Macros

#define HAVE_PTHREAD_H
 

Macro Definition Documentation

#define HAVE_PTHREAD_H

This is required for thrift's Thread.h to compile. Thrift also includes an experimental Boost-based thread implementation that is enabled by #define USE_BOOST_THREAD. It is important that USE_BOOST_THREAD is defined if and only if it was defined when compiling Thrift itself, as it causes the size of id_t to change, which will cause crashes if it's different sizes in Impala and in Thrift.

Definition at line 23 of file thrift-thread.h.