Lumiera  0.pre.03
»edit your freedom«
ThreadWrapperAutonomous_test Class Reference

Description

Test:
a variation of the Thread wrapper to launch a detached thread, with automatic memory management for the thread-object..
See also
thread.hpp
ThreadWrapper_test

Definition at line 51 of file thread-wrapper-autonomous-test.cpp.

Private Member Functions

void demonstrateSimpleUsage ()
 
virtual void run (Arg)
 
void verifyMemoryManagement ()
 

Additional Inherited Members

- Public Member Functions inherited from Test
virtual void run (Arg arg)=0
 

Member Function Documentation

◆ demonstrateSimpleUsage()

void demonstrateSimpleUsage ( )
inlineprivate
Test:
demonstrate simply launching a λ-function into background

Definition at line 64 of file thread-wrapper-autonomous-test.cpp.

References lib::launchDetached().

+ Here is the call graph for this function:

◆ verifyMemoryManagement()

void verifyMemoryManagement ( )
inlineprivate
Test:
verify the detached thread autonomously manages its memory.

Definition at line 78 of file thread-wrapper-autonomous-test.cpp.

+ Inheritance diagram for ThreadWrapperAutonomous_test:
+ Collaboration diagram for ThreadWrapperAutonomous_test:

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