AllianceDB  0.0.1
AllianceDB is an open-source suite, including benchmarks and libs for evaluating and improving stream operation algorithms on modern hardwares.

The base class and abstraction of C++20 thread, and it can be derived into other threads. More...

#include <Utils/AbstractC20Thread.h>

Inheritance diagram for INTELLI::AbstractC20Thread:
Collaboration diagram for INTELLI::AbstractC20Thread:

Public Member Functions

void startThread ()
 to start this thread
 
void joinThread ()
 the thread join function
 

Protected Member Functions

virtual void inlineMain ()
 The inline 'main" function of thread, as an interface. More...
 

Protected Attributes

std::shared_ptr< std::thread > threadPtr
 

Detailed Description

The base class and abstraction of C++20 thread, and it can be derived into other threads.

Member Function Documentation

◆ inlineMain()

virtual void INTELLI::AbstractC20Thread::inlineMain ( )
inlineprotectedvirtual

The inline 'main" function of thread, as an interface.

Note
Normally re-write this in derived classes

Reimplemented in INTELLI::VerifyWS, INTELLI::AbstractLazyWS, INTELLI::AbstractEagerWS, INTELLI::SplitJoinJP, INTELLI::SplitJoinIRJP, INTELLI::HandShakeJP, INTELLI::CellJoinJP, INTELLI::AbstractLazyJP, INTELLI::AbstractJP, and INTELLI::NPJ_thread.


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