Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis 3 Programmer Reference
restincurl::Worker::WorkerThread Class Reference
Collaboration diagram for restincurl::Worker::WorkerThread:
Collaboration graph

Public Member Functions

 WorkerThread (std::function< void()> &&fn)
 
void Join () const
 
bool Joinable () const
 
 operator std::thread & ()
 

Private Attributes

std::thread thread_
 
std::once_flag joined_
 

Detailed Description

Definition at line 745 of file restincurl.h.

Constructor & Destructor Documentation

◆ WorkerThread()

restincurl::Worker::WorkerThread::WorkerThread ( std::function< void()> && fn)
inline

Definition at line 747 of file restincurl.h.

◆ ~WorkerThread()

restincurl::Worker::WorkerThread::~WorkerThread ( )
inline

Definition at line 750 of file restincurl.h.

Member Function Documentation

◆ Join()

void restincurl::Worker::WorkerThread::Join ( ) const
inline

Definition at line 757 of file restincurl.h.

◆ Joinable()

bool restincurl::Worker::WorkerThread::Joinable ( ) const
inline

Definition at line 763 of file restincurl.h.

◆ operator std::thread &()

restincurl::Worker::WorkerThread::operator std::thread & ( )
inline

Definition at line 767 of file restincurl.h.

Member Data Documentation

◆ joined_

std::once_flag restincurl::Worker::WorkerThread::joined_
mutableprivate

Definition at line 771 of file restincurl.h.

◆ thread_

std::thread restincurl::Worker::WorkerThread::thread_
private

Definition at line 770 of file restincurl.h.


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