![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include <thread.hpp>
Public Member Functions | |
thread_t () | |
void | setSchedulingParameters (int priority_, int schedulingPolicy_) |
void | start (thread_fn *tfn_, void *arg_) |
void | stop () |
Public Attributes | |
void * | arg |
thread_fn * | tfn |
Private Member Functions | |
thread_t (const thread_t &) | |
const thread_t & | operator= (const thread_t &) |
Private Attributes | |
pthread_t | descriptor |
Definition at line 53 of file thread.hpp.
|
inline |
Definition at line 57 of file thread.hpp.
References setSchedulingParameters(), start(), and stop().
|
private |
Definition at line 120 of file thread.cpp.
References descriptor, LIBZMQ_UNUSED, and posix_assert.
Referenced by zmq::ctx_t::start_thread(), and thread_t().
void zmq::thread_t::start | ( | thread_fn * | tfn_, |
void * | arg_ | ||
) |
Definition at line 106 of file thread.cpp.
References arg, descriptor, posix_assert, tfn, and thread_routine().
Referenced by zmq::ctx_t::start_thread(), thread_t(), and zmq_threadstart().
void zmq::thread_t::stop | ( | ) |
Definition at line 114 of file thread.cpp.
References descriptor, and posix_assert.
Referenced by thread_t(), and zmq_threadclose().
void* zmq::thread_t::arg |
Definition at line 77 of file thread.hpp.
Referenced by start().
|
private |
Definition at line 84 of file thread.hpp.
Referenced by setSchedulingParameters(), start(), and stop().
thread_fn* zmq::thread_t::tfn |
Definition at line 76 of file thread.hpp.
Referenced by start(), and thread_routine().