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

#include <ctx.hpp>

Public Member Functions

int get (int option_, void *optval_, const size_t *optvallen_)
 
int set (int option_, const void *optval_, size_t optvallen_)
 
void start_thread (thread_t &thread_, thread_fn *tfn_, void *arg_, const char *name_=NULL) const
 
 thread_ctx_t ()
 

Protected Attributes

mutex_t _opt_sync
 

Private Attributes

std::set< int > _thread_affinity_cpus
 
std::string _thread_name_prefix
 
int _thread_priority
 
int _thread_sched_policy
 

Detailed Description

Definition at line 37 of file ctx.hpp.

Constructor & Destructor Documentation

◆ thread_ctx_t()

zmq::thread_ctx_t::thread_ctx_t ( )

Definition at line 522 of file ctx.cpp.

Member Function Documentation

◆ get()

int zmq::thread_ctx_t::get ( int  option_,
void optval_,
const size_t *  optvallen_ 
)

Definition at line 608 of file ctx.cpp.

◆ set()

int zmq::thread_ctx_t::set ( int  option_,
const void optval_,
size_t  optvallen_ 
)

Definition at line 544 of file ctx.cpp.

◆ start_thread()

void zmq::thread_ctx_t::start_thread ( thread_t thread_,
thread_fn tfn_,
void arg_,
const char *  name_ = NULL 
) const

Definition at line 528 of file ctx.cpp.

Member Data Documentation

◆ _opt_sync

mutex_t zmq::thread_ctx_t::_opt_sync
protected

Definition at line 53 of file ctx.hpp.

◆ _thread_affinity_cpus

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

Definition at line 59 of file ctx.hpp.

◆ _thread_name_prefix

std::string zmq::thread_ctx_t::_thread_name_prefix
private

Definition at line 60 of file ctx.hpp.

◆ _thread_priority

int zmq::thread_ctx_t::_thread_priority
private

Definition at line 57 of file ctx.hpp.

◆ _thread_sched_policy

int zmq::thread_ctx_t::_thread_sched_policy
private

Definition at line 58 of file ctx.hpp.


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


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