theCore C++ embedded framework
ecl::native_thread Class Reference

#include </home/travis/build/forGGe/theCore/lib/thread/posix/export/ecl/thread/thread.hpp>

Public Types

using routine = ecl::err(*)(void *)
 
using routine = ecl::err(*)(void *)
 

Public Member Functions

 native_thread ()
 
 native_thread (native_thread &&other)
 
 ~native_thread ()
 
native_threadoperator= (native_thread &)=delete
 
 native_thread (const native_thread &)=delete
 
ecl::err set_stack_size (size_t size)
 
ecl::err set_name (const char *name)
 
ssize_t get_name (char *buf, size_t size)
 
ecl::err set_routine (routine fn, void *arg)
 
ecl::err start ()
 
ecl::err join (ecl::err &retcode)
 
ecl::err join ()
 
ecl::err detach ()
 
 native_thread ()
 
 native_thread (native_thread &&other)
 
 ~native_thread ()
 
native_threadoperator= (native_thread &)=delete
 
ecl::err set_stack_size (size_t size)
 
ecl::err set_name (const char *name)
 
ssize_t get_name (char *buf, size_t size)
 
ecl::err set_routine (routine fn, void *arg)
 
ecl::err start ()
 
ecl::err join (ecl::err &retcode)
 
ecl::err join ()
 
ecl::err detach ()
 

Member Typedef Documentation

◆ routine [1/2]

◆ routine [2/2]

Constructor & Destructor Documentation

◆ native_thread() [1/5]

ecl::native_thread::native_thread ( )

◆ native_thread() [2/5]

ecl::native_thread::native_thread ( native_thread &&  other)

◆ ~native_thread() [1/2]

ecl::native_thread::~native_thread ( )

◆ native_thread() [3/5]

ecl::native_thread::native_thread ( const native_thread )
delete

◆ native_thread() [4/5]

ecl::native_thread::native_thread ( )

◆ native_thread() [5/5]

ecl::native_thread::native_thread ( native_thread &&  other)

◆ ~native_thread() [2/2]

ecl::native_thread::~native_thread ( )

Member Function Documentation

◆ operator=() [1/2]

native_thread& ecl::native_thread::operator= ( native_thread )
delete

◆ set_stack_size() [1/2]

ecl::err ecl::native_thread::set_stack_size ( size_t  size)

◆ set_name() [1/2]

ecl::err ecl::native_thread::set_name ( const char *  name)

◆ get_name() [1/2]

ssize_t ecl::native_thread::get_name ( char *  buf,
size_t  size 
)

◆ set_routine() [1/2]

ecl::err ecl::native_thread::set_routine ( routine  fn,
void *  arg 
)

◆ start() [1/2]

ecl::err ecl::native_thread::start ( )

◆ join() [1/4]

ecl::err ecl::native_thread::join ( ecl::err retcode)

◆ join() [2/4]

ecl::err ecl::native_thread::join ( )

◆ detach() [1/2]

ecl::err ecl::native_thread::detach ( )

◆ operator=() [2/2]

native_thread& ecl::native_thread::operator= ( native_thread )
delete

◆ set_stack_size() [2/2]

ecl::err ecl::native_thread::set_stack_size ( size_t  size)

◆ set_name() [2/2]

ecl::err ecl::native_thread::set_name ( const char *  name)

◆ get_name() [2/2]

ssize_t ecl::native_thread::get_name ( char *  buf,
size_t  size 
)

◆ set_routine() [2/2]

ecl::err ecl::native_thread::set_routine ( routine  fn,
void *  arg 
)

◆ start() [2/2]

ecl::err ecl::native_thread::start ( )

◆ join() [3/4]

ecl::err ecl::native_thread::join ( ecl::err retcode)

◆ join() [4/4]

ecl::err ecl::native_thread::join ( )

◆ detach() [2/2]

ecl::err ecl::native_thread::detach ( )

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