OnixS C++ CME iLink 3 Binary Order Entry Handler  1.16.2
API Documentation
ThisThread Class Reference

#include <OnixS/CME/iLink3/threading/Thread.h>

Static Public Member Functions

static void sleep (unsigned int milliseconds)
static void spinWait (unsigned int microseconds)
static void affinity (const CpuIndexes &cpuIndexes)
static void affinity (CpuIndex cpuIndex)
static void priority (int priority)
static void policy (int policy)
static ThreadId id ()
static unsigned int processorNumber ()

Detailed Description

Definition at line 65 of file Thread.h.

Member Function Documentation

static void affinity ( const CpuIndexes cpuIndexes)

Sets the processor affinity mask for the current thread.

static void affinity ( CpuIndex  cpuIndex)

Sets the processor affinity mask for the current thread.

static ThreadId id ( )
the platform identifier for the current thread.
static void policy ( int  policy)

Sets the scheduling policy for the current thread.

This method also sets the priority to the minimal value for the new policy, therefore, the priority should be set to a necessary value afterwards.
static void priority ( int  priority)

Sets the priority for the current thread.

static unsigned int processorNumber ( )
the processor number the current thread is running on during the call to this method.
static void sleep ( unsigned int  milliseconds)

Suspends the execution of the current thread for the given amount of time.

static void spinWait ( unsigned int  microseconds)

Executes a single instruction during the given number of microseconds.

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