|
Zero
0.1.0
|
wraps up a class instance and a member function to look like a thread_t. Use the convenience function below to instantiate. More...
#include <kits_thread.h>
Public Member Functions | |
| member_func_thread_t (Class *instance, Functor func, const std::string &thread_name) | |
| virtual void | work () |
Public Member Functions inherited from thread_t | |
| bool | delete_me () |
| std::string | thread_name () |
| randgen_t * | randgen () |
| Returns pointer to thread_t's randgen_t object. More... | |
| int | rand () |
| Returns a pseudo-random integer between 0 and RAND_MAX. More... | |
| int | rand (int n) |
| virtual | ~thread_t () |
Public Member Functions inherited from thread_wrapper_t | |
| thread_wrapper_t () | |
| virtual | ~thread_wrapper_t () |
| virtual void | before_run () |
| virtual void | after_run () |
| void | spawn () |
| void | fork () |
| void | join () |
Private Attributes | |
| Class * | _instance |
| Functor | _func |
Additional Inherited Members | |
Protected Member Functions inherited from thread_t | |
| thread_t (const std::string &name) | |
Protected Attributes inherited from thread_t | |
| bool | _delete_me |
wraps up a class instance and a member function to look like a thread_t. Use the convenience function below to instantiate.
|
inline |
|
inlinevirtual |
|
private |
|
private |
1.8.12