Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
PolicyLaunchOnly< BAS, typename > Struct Template Reference

#include "lib/thread.hpp"

Description

template<class BAS, typename = void>
struct lib::thread::PolicyLaunchOnly< BAS, typename >

Thread Lifecycle Policy:

  • launch thread without further control
  • errors in thread function will only be logged
  • thread detaches before terminating
  • »grace period« for thread to terminate on shutdown

Definition at line 248 of file thread.hpp.

Public Member Functions

template<class FUN , typename... ARGS>
void perform_thread_function (FUN &&callable, ARGS &&...args)
 
void handle_after_thread ()
 
void handle_loose_thread ()
 

Member Function Documentation

◆ perform_thread_function()

template<class BAS , typename = void>
template<class FUN , typename... ARGS>
void perform_thread_function ( FUN &&  callable,
ARGS &&...  args 
)
inline

Definition at line 255 of file thread.hpp.

References ERROR_LOG_AND_IGNORE.

◆ handle_after_thread()

template<class BAS , typename = void>
void handle_after_thread ( )
inline

Definition at line 265 of file thread.hpp.

◆ handle_loose_thread()

template<class BAS , typename = void>
void handle_loose_thread ( )
inline

Definition at line 271 of file thread.hpp.

Referenced by PolicyLifecycleHook< BAS, TAR >::handle_loose_thread().

+ Here is the caller graph for this function:
+ Inheritance diagram for PolicyLaunchOnly< BAS, typename >:
+ Collaboration diagram for PolicyLaunchOnly< BAS, typename >:

The documentation for this struct was generated from the following file: