ORIGINAL
Loading...
Searching...
No Matches
original::threadBase::threadData< Callback > Class Template Reference

Wrapper for thread execution data. More...

#include <thread.h>

Collaboration diagram for original::threadBase::threadData< Callback >:
Collaboration graph

Public Member Functions

 threadData (Callback c)
 Construct thread data wrapper.
 

Static Public Member Functions

static void * run (void *arg)
 Thread entry point wrapper.
 

Detailed Description

template<typename Callback>
class original::threadBase::threadData< Callback >

Wrapper for thread execution data.

Template Parameters
CallbackType of the thread callback function

Constructor & Destructor Documentation

◆ threadData()

template<typename Callback>
original::threadBase::threadData< Callback >::threadData ( Callback c)
explicit

Construct thread data wrapper.

Template Parameters
CallbackCallback function type
Parameters
cCallback to store

Member Function Documentation

◆ run()

template<typename Callback>
void * original::threadBase::threadData< Callback >::run ( void * arg)
static

Thread entry point wrapper.

Template Parameters
CallbackCallback function type
Parameters
argPointer to threadData instance
Returns
Always nullptr
Exceptions
sysErrorif callback throws an error

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