TuttleOFX  1
ofxsMultiThread.cpp File Reference
#include "ofxsSupportPrivate.h"
#include "ofxsUtilities.h"
#include <iostream>
Include dependency graph for ofxsMultiThread.cpp:

Go to the source code of this file.

Namespaces

namespace  OFX
 

The core 'OFX Support' namespace, used by plugin implementations. All code for these are defined in the common support libraries.


namespace  OFX::MultiThread
 

Multi thread namespace.


Functions

bool OFX::MultiThread::isSpawnedThread (void)
 Has the current thread been spawned from an MP.
unsigned int OFX::MultiThread::getNumCPUs (void)
 The number of CPUs that can be used for MP-ing.
unsigned int OFX::MultiThread::getThreadIndex (void)
 The index of the current thread. From 0 to numCPUs() - 1.