Public Member Functions | Public Attributes | Private Attributes | List of all members
zmq::thread_t Class Reference

#include <thread.hpp>

Public Member Functions

void applySchedulingParameters ()
 
void applyThreadName ()
 
bool get_started () const
 
bool is_current_thread () const
 
void setSchedulingParameters (int priority_, int scheduling_policy_, const std::set< int > &affinity_cpus_)
 
void start (thread_fn *tfn_, void *arg_, const char *name_)
 
void stop ()
 
 thread_t ()
 

Public Attributes

void_arg
 
char _name [16]
 
thread_fn_tfn
 

Private Attributes

pthread_t _descriptor
 
bool _started
 
std::set< int > _thread_affinity_cpus
 
int _thread_priority
 
int _thread_sched_policy
 

Detailed Description

Definition at line 26 of file thread.hpp.

Constructor & Destructor Documentation

◆ thread_t()

zmq::thread_t::thread_t ( )
inline

Definition at line 29 of file thread.hpp.

Member Function Documentation

◆ applySchedulingParameters()

void zmq::thread_t::applySchedulingParameters ( )

Definition at line 267 of file thread.cpp.

◆ applyThreadName()

void zmq::thread_t::applyThreadName ( )

Definition at line 350 of file thread.cpp.

◆ get_started()

bool zmq::thread_t::get_started ( ) const

Definition at line 16 of file thread.cpp.

◆ is_current_thread()

bool zmq::thread_t::is_current_thread ( ) const

Definition at line 253 of file thread.cpp.

◆ setSchedulingParameters()

void zmq::thread_t::setSchedulingParameters ( int  priority_,
int  scheduling_policy_,
const std::set< int > &  affinity_cpus_ 
)

Definition at line 258 of file thread.cpp.

◆ start()

void zmq::thread_t::start ( thread_fn tfn_,
void arg_,
const char *  name_ 
)

Definition at line 234 of file thread.cpp.

◆ stop()

void zmq::thread_t::stop ( )

Definition at line 245 of file thread.cpp.

Member Data Documentation

◆ _arg

void* zmq::thread_t::_arg

Definition at line 75 of file thread.hpp.

◆ _descriptor

pthread_t zmq::thread_t::_descriptor
private

Definition at line 97 of file thread.hpp.

◆ _name

char zmq::thread_t::_name[16]

Definition at line 76 of file thread.hpp.

◆ _started

bool zmq::thread_t::_started
private

Definition at line 79 of file thread.hpp.

◆ _tfn

thread_fn* zmq::thread_t::_tfn

Definition at line 74 of file thread.hpp.

◆ _thread_affinity_cpus

std::set<int> zmq::thread_t::_thread_affinity_cpus
private

Definition at line 103 of file thread.hpp.

◆ _thread_priority

int zmq::thread_t::_thread_priority
private

Definition at line 101 of file thread.hpp.

◆ _thread_sched_policy

int zmq::thread_t::_thread_sched_policy
private

Definition at line 102 of file thread.hpp.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11