#include <kits_thread.h>
§ ~thread_t()
| virtual thread_t::~thread_t |
( |
| ) |
|
|
inlinevirtual |
§ thread_t()
| thread_t::thread_t |
( |
const std::string & |
name | ) |
|
|
protected |
§ delete_me()
| bool thread_t::delete_me |
( |
| ) |
|
|
inline |
§ rand() [1/2]
Returns a pseudo-random integer between 0 and RAND_MAX.
§ rand() [2/2]
| int thread_t::rand |
( |
int |
n | ) |
|
|
inline |
§ randgen()
§ run()
§ setuppool()
§ setupthr()
| void thread_t::setupthr |
( |
| ) |
|
|
private |
§ thread_name()
| std::string thread_t::thread_name |
( |
| ) |
|
|
inline |
§ work()
| virtual void thread_t::work |
( |
| ) |
|
|
pure virtual |
The previously used run() is already used by smthread core. Thus, run() now does the thread_t specific setup and calls work(). That is, work() is the new entry function for thread_t instead of run().
Implemented in abort_smt_t, base_worker_t, tpcb::ShoreTPCBEnv::table_creator_t, tpcb::ShoreTPCBEnv::table_builder_t, ycsb::table_creator_t, ycsb::table_builder_t, member_func_thread_t< Class, Functor >, base_client_t, table_loading_smt_t, crasher_t, checkpointer_t, tpcc::ShoreTPCCEnv::table_creator_t, tpcc::ShoreTPCCEnv::table_builder_t, db_init_smt_t, and root_thread_t.
§ _delete_me
| bool thread_t::_delete_me |
|
protected |
§ _ppool
smthread_t::fork() is going to call run()
§ _randgen
§ _thread_name
| std::string thread_t::_thread_name |
|
private |
The documentation for this class was generated from the following files: