lazyinitthreaded.h File Reference

Classes

class   LazyInitThreaded
class   LazyInitThreaded::CancellationForwarder

Namespaces

  maxon

变量

  NONE
  FORWARD_CANCELLATION
  RETRY_ON_FAILURE
  RETRY_ON_CANCELLATION
  DEFAULT
class maxon::LazyInitThreaded   MAXON_ENUM_LIST_CLASS

Variable Documentation

◆  NONE

NONE

◆  FORWARD_CANCELLATION

FORWARD_CANCELLATION

Cancellation of the calling job will be forwarded.

◆  RETRY_ON_FAILURE

RETRY_ON_FAILURE

Retry initialization if it failed the first time.

◆  RETRY_ON_CANCELLATION

RETRY_ON_CANCELLATION

Retry initialization if it failed due to thread cancellation (ThreadCancelledError). This is a special case of RETRY_ON_FAILURE.

◆  DEFAULT

DEFAULT

Default behaviour: Cancellation of the calling job will be forwarded, initialization will be retried if it failed due to ThreadCancelledError.