threadservicespods.h File Reference

Namespaces

 maxon
 

Enumerations

enum class  THREADPRIORITY : Int16 {
  NORMAL ,
  ABOVE ,
  BELOW ,
  LOWEST ,
  BACKGROUND_IDLE
}
 
enum class  WAITMODE {
  DEFAULT ,
  RETURN_ON_CANCEL ,
  PRIVATE_BLOCKING ,
  EXTERNAL_ENQUEUE ,
  DONT_WAIT
}
 
enum class  THREADTYPE {
  MAIN ,
  WORKER ,
  STANDALONE ,
  ALIEN ,
  ASSIMILATED
}
 

Functions

enum maxon::THREADPRIORITY Int16 MAXON_ENUM_LIST (THREADPRIORITY)
 
enum maxon::WAITMODE MAXON_ENUM_FLAGS (WAITMODE)
 
enum maxon::THREADTYPE MAXON_ENUM_LIST (THREADTYPE)
 

Variables

 NORMAL
 
 ABOVE
 
 BELOW
 
 LOWEST
 
 BACKGROUND_IDLE
 
 DEFAULT
 
 RETURN_ON_CANCEL
 
 PRIVATE_BLOCKING
 
 EXTERNAL_ENQUEUE
 
 DONT_WAIT
 
 MAIN
 
 WORKER
 
 STANDALONE
 
 ALIEN
 
 ASSIMILATED
 

Variable Documentation

◆ NORMAL

NORMAL

◆ ABOVE

ABOVE

◆ BELOW

BELOW

◆ LOWEST

LOWEST

◆ BACKGROUND_IDLE

BACKGROUND_IDLE

◆ DEFAULT

DEFAULT

Default case: Wait() will return if the condition is set or it has timed out.

◆ RETURN_ON_CANCEL

RETURN_ON_CANCEL

Wait() should return if the caller has been cancelled even though the condition is not set yet.

◆ PRIVATE_BLOCKING

PRIVATE_BLOCKING

Wait() won't execute other jobs on the thread while it is waiting (for legacy threads only).

◆ EXTERNAL_ENQUEUE

EXTERNAL_ENQUEUE

Wait() for a job which has been enqueued by a different thread (by default this is not allowed to prevent deadlocks).

◆ DONT_WAIT

DONT_WAIT

For ExecuteOnMainThread only: Do not wait.

◆ MAIN

MAIN

The main thread.

◆ WORKER

WORKER

A worker thread of a queue.

◆ STANDALONE

STANDALONE

A standalone thread.

◆ ALIEN

ALIEN

An alien thread (only limited use of MAXON API allowed).

◆ ASSIMILATED

ASSIMILATED

An assimilated alien thread (full use of the MAXON API allowed).