ofxMultiThread.h File Reference


Detailed Description

This file contains the Host Suite for threading

#include "ofxCore.h"

Go to the source code of this file.

Classes

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

Defines

#define kOfxMultiThreadSuite   "OfxMultiThreadSuite"

Typedefs

typedef struct OfxMutex * OfxMutexHandle
 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.


Define Documentation

#define kOfxMultiThreadSuite   "OfxMultiThreadSuite"


Typedef Documentation

typedef struct OfxMutex* OfxMutexHandle

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.

  • 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.


Copyright 2003-2004 The Foundry Visonmongers Ltd. All rights reserved.
Copying and redistribution with or without modification, is permitted provided that the following conditions are met:
  1. Redistributions of the document must retain the above copyright notice and this list of conditions.
  2. Neither the name of The Foundry Visonmongers Ltd nor names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
Automatic documentation generated by DOxygen.