APM:Libraries
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
TestThread2 Class Reference
Inheritance diagram for TestThread2:
[legend]
Collaboration diagram for TestThread2:
[legend]

Public Member Functions

 TestThread2 ()
 
- Public Member Functions inherited from Linux::Thread
 FUNCTOR_TYPEDEF (task_t, void)
 
 Thread (task_t t)
 
virtual ~Thread ()
 
bool start (const char *name, int policy, int prio)
 
bool is_current_thread ()
 
bool is_started () const
 
size_t get_stack_usage ()
 
bool set_stack_size (size_t stack_size)
 
virtual bool stop ()
 
bool join ()
 

Public Attributes

int n_loop = 0
 

Protected Member Functions

void _task ()
 
- Protected Member Functions inherited from Linux::Thread
virtual bool _run ()
 
void _poison_stack ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from Linux::Thread
static void * _run_trampoline (void *arg)
 
- Protected Attributes inherited from Linux::Thread
task_t _task
 
bool _started = false
 
bool _should_exit = false
 
pthread_t _ctx = 0
 
struct Linux::Thread::stack_debug _stack_debug
 
size_t _stack_size = 0
 

Detailed Description

Definition at line 55 of file test_thread.cpp.

Constructor & Destructor Documentation

◆ TestThread2()

TestThread2::TestThread2 ( )
inline

Definition at line 57 of file test_thread.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ _task()

void TestThread2::_task ( )
inlineprotected

Definition at line 62 of file test_thread.cpp.

Referenced by TestThread2().

Here is the caller graph for this function:

Member Data Documentation

◆ n_loop

int TestThread2::n_loop = 0

Definition at line 59 of file test_thread.cpp.

Referenced by TEST().


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