| AXCEL C++ Framework Elegance through abstraction | 
Multithreading. More...
#include <axcel.h>
 
  
 | Public Member Functions | |
| virtual string | type () | 
| Get type of object. | |
| virtual | operator string () | 
| Convert to string. | |
| thread () | |
| ~thread () | |
| thread (void *(*tfunc)(void *)) | |
| bool | start (void *param=0) | 
| bool | stop () | 
| bool | join (void **ret=0) | 
| bool | tjoin (size_t ms, void **ret=0) | 
| bool | getret (void **retval=0) | 
| proc::thread & | operator= (void *(*tfunc)(void *)) | 
| proc::thread & | operator= (proc::thread t) | 
| bool | operator!= (void *(*tfunc)(void *)) | 
| bool | operator!= (proc::thread t) | 
| bool | operator== (void *(*tfunc)(void *)) | 
| bool | operator== (proc::thread t) | 
| Static Public Member Functions | |
| static void | exit (void *retval) | 
| static proc::thread | self () | 
| Public Attributes | |
| pthread_t | tid | 
| size_t | stack | 
| void *(* | sub )(void *) | 
Multithreading.
Multithreading allow executing of multiple sub-procedures at the same time...kind of. Once a thread starts another thread, the original thread can continue it's execution as normal and later, can either wait for it to complete to get the return value or terminate it.
| axcel::proc::thread::operator string | ( | ) |  [virtual] | 
Convert to string.
Implements axcel::object.
| bool axcel::proc::thread::operator!= | ( | void *(*)(void *) | tfunc | ) | 
| bool axcel::proc::thread::operator!= | ( | proc::thread | t | ) | 
| proc::thread & axcel::proc::thread::operator= | ( | void *(*)(void *) | tfunc | ) | 
| proc::thread & axcel::proc::thread::operator= | ( | proc::thread | t | ) | 
| bool axcel::proc::thread::operator== | ( | void *(*)(void *) | tfunc | ) | 
| bool axcel::proc::thread::operator== | ( | proc::thread | t | ) | 
| proc::thread axcel::proc::thread::self | ( | ) |  [static] | 
| bool axcel::proc::thread::tjoin | ( | size_t | ms, | 
| void ** | ret = 0 | ||
| ) | 
| string axcel::proc::thread::type | ( | ) |  [virtual] | 
| size_t axcel::proc::thread::stack | 
| void*(* axcel::proc::thread::sub)(void *) | 
| pthread_t axcel::proc::thread::tid | 
 1.7.4
 1.7.4