HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ThreadBackoff Class Reference

#include <UT_Thread.h>

Public Member Functions

 UT_ThreadBackoff ()
 
void wait ()
 
void reset ()
 

Static Public Attributes

static const uint cycles_for_noop = 4
 
static const uint cycles_for_pause = cycles_for_noop * 4
 
static const uint cycles_for_yield_higher = cycles_for_pause * 2
 
static const uint cycles_for_yield_all = cycles_for_yield_higher * 2
 

Detailed Description

Definition at line 466 of file UT_Thread.h.

Constructor & Destructor Documentation

UT_ThreadBackoff::UT_ThreadBackoff ( )
inline

Definition at line 469 of file UT_Thread.h.

Member Function Documentation

void UT_ThreadBackoff::reset ( void  )
inline

Definition at line 501 of file UT_Thread.h.

void UT_ThreadBackoff::wait ( )
inline

Definition at line 477 of file UT_Thread.h.

Member Data Documentation

const uint UT_ThreadBackoff::cycles_for_noop = 4
static

Definition at line 471 of file UT_Thread.h.

const uint UT_ThreadBackoff::cycles_for_pause = cycles_for_noop * 4
static

Definition at line 472 of file UT_Thread.h.

const uint UT_ThreadBackoff::cycles_for_yield_all = cycles_for_yield_higher * 2
static

Definition at line 474 of file UT_Thread.h.

const uint UT_ThreadBackoff::cycles_for_yield_higher = cycles_for_pause * 2
static

Definition at line 473 of file UT_Thread.h.


The documentation for this class was generated from the following file: