lazyinitthreaded.h File Reference

Classes

class  LazyInitThreaded
 
class  LazyInitThreaded::CancellationForwarder
 

Namespaces

 maxon
 

Variables

 NONE
 
 FORWARD_CANCELLATION
 
 RETRY_ON_FAILURE
 
 RETRY_ON_CANCELLATION
 
 NO_EXCLUSIVE_RESOURCE
 
 DEFAULT
 

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 (OperationCancelledError). This is a special case of RETRY_ON_FAILURE.

◆ NO_EXCLUSIVE_RESOURCE

NO_EXCLUSIVE_RESOURCE

support cancellation etc. but do not span an exclusive resource around the lazy init threaded and all its sub-jobs

◆ DEFAULT

DEFAULT

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