Evo C++ Library v0.5.1
Classes | Namespaces | Macros
systhread.h File Reference

Evo system threads implementation. More...

#include "sys.h"
#include <pthread.h>

Go to the source code of this file.

Classes

struct  SysMutex
 
struct  SysThread
 

Namespaces

 evo
 Evo C++ Library namespace.
 

Macros

#define EVO_THREAD_RUN_DEFINE(NAME, PARAM_NAME)   void* NAME(void* PARAM_NAME)
 Used to define a thread run function used with SysThread (used internally). More...
 
#define EVO_THREAD_RUN_RETURN   return NULL
 Used to return from a thread run function used with SysThread (used internally). More...
 
#define INCL_evo_systhread_h
 

Detailed Description

Evo system threads implementation.

Macro Definition Documentation

◆ EVO_THREAD_RUN_DEFINE

#define EVO_THREAD_RUN_DEFINE (   NAME,
  PARAM_NAME 
)    void* NAME(void* PARAM_NAME)

Used to define a thread run function used with SysThread (used internally).

  • The actual signature depends on the OS, though param is always void*
    Parameters
    NAMEFunction name
    PARAM_NAMEParemter name (always void*)

◆ EVO_THREAD_RUN_RETURN

#define EVO_THREAD_RUN_RETURN   return NULL

Used to return from a thread run function used with SysThread (used internally).

  • The actual return type depends on the OS, use this for best portability

◆ INCL_evo_systhread_h

#define INCL_evo_systhread_h