file REDThreads.h

Multi-threading class used to create os-independent threads.

Go to the source code of this file.

Namespaces:

namespaceRED

Classes:

classThread

Defines:

#defineRED_RC_MT_OUT (exp)

Defines documentation

#define RED_RC_MT_OUT(exp)

Multi-threaded macro helping to check RED_RC error codes and to return from a thread in a multi-threaded environement.

Value:

{\
  RED_RC rc_mt_out = (exp);\
  if( rc_mt_out != RED_OK )\
  {\
    RED::REDBreak( rc_mt_out, __FUNCTION__, NULL, NULL, NULL );\
    thread->StopRun( rc_mt_out );\
    return 0;\
  }\
}