TuttleOFX  1
ofxMultiThread.h File Reference
#include "ofxCore.h"
Include dependency graph for ofxMultiThread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  OfxMultiThreadSuiteV1
 OFX suite that provides simple SMP style multi-processing. More...

Defines

#define kOfxMultiThreadSuite   "OfxMultiThreadSuite"

Typedefs

typedef struct OfxMutexOfxMutexHandle
 Mutex blind data handle.
typedef void( OfxThreadFunctionV1 )(unsigned int threadIndex, unsigned int threadMax, void *customArg)
 The function type to passed to the multi threading routines.
typedef struct
OfxMultiThreadSuiteV1 
OfxMultiThreadSuiteV1
 OFX suite that provides simple SMP style multi-processing.

Detailed Description

This file contains the Host Suite for threading

Definition in file ofxMultiThread.h.


Define Documentation

#define kOfxMultiThreadSuite   "OfxMultiThreadSuite"

Typedef Documentation

OFX suite that provides simple SMP style multi-processing.

typedef struct OfxMutex* OfxMutexHandle

Mutex blind data handle.

Definition at line 49 of file ofxMultiThread.h.

typedef void( OfxThreadFunctionV1)(unsigned int threadIndex, unsigned int threadMax, void *customArg)

The function type to passed to the multi threading routines.

  • threadIndex unique index of this thread, will be between 0 and threadMax
  • threadMax to total number of threads executing this function
  • customArg the argument passed into multiThread

A function of this type is passed to OfxMultiThreadSuiteV1::multiThread to be launched in multiple threads.

Definition at line 59 of file ofxMultiThread.h.