Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include <atomic.h>
Static Public Member Functions | |
static void | CpuWait () |
static void | MemoryBarrier () |
|
inlinestatic |
Issues instruction to have the CPU wait, this is less busy (bus traffic etc) than just spinning. For example: while (1); should be: while (1) CpuWait();
Definition at line 32 of file atomic.h.
Referenced by impala::SpinLock::SlowAcquire().
|
inlinestatic |
Definition at line 36 of file atomic.h.
Referenced by impala::HdfsScanNode::ScannerThread().