threadservicespods.h File Reference

Namespaces

  maxon

Enumerations

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

函数

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

变量

  NORMAL
  ABOVE
  BELOW
  LOWEST
  BACKGROUND_IDLE
  DEFAULT
  RETURN_ON_CANCEL
  PRIVATE_BLOCKING
  EXTERNAL_ENQUEUE
  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).

◆  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).