NeoPZ
Public Member Functions | Public Attributes | List of all members
synchronized_threads_t::thread_arg_t Struct Reference

Public Member Functions

 thread_arg_t (int t, void(*ir)(int), void(*pr)(int), pthread_mutex_t *mt, pthread_cond_t *cd, pthread_cond_t *mcd)
 

Public Attributes

int tid
 
void(* init_routine )(int)
 
void(* parallel_routine )(int)
 
pthread_mutex_t * glob_mutex
 
pthread_cond_t * cond
 
pthread_cond_t * main_cond
 

Detailed Description

Definition at line 341 of file numatst.cpp.

Constructor & Destructor Documentation

◆ thread_arg_t()

synchronized_threads_t::thread_arg_t::thread_arg_t ( int  t,
void(*)(int)  ir,
void(*)(int)  pr,
pthread_mutex_t *  mt,
pthread_cond_t *  cd,
pthread_cond_t *  mcd 
)
inline

Definition at line 343 of file numatst.cpp.

Member Data Documentation

◆ cond

pthread_cond_t* synchronized_threads_t::thread_arg_t::cond

Definition at line 353 of file numatst.cpp.

Referenced by threadfunc().

◆ glob_mutex

pthread_mutex_t* synchronized_threads_t::thread_arg_t::glob_mutex

Definition at line 352 of file numatst.cpp.

Referenced by threadfunc().

◆ init_routine

void(* synchronized_threads_t::thread_arg_t::init_routine) (int)

Definition at line 350 of file numatst.cpp.

Referenced by threadfunc().

◆ main_cond

pthread_cond_t* synchronized_threads_t::thread_arg_t::main_cond

Definition at line 354 of file numatst.cpp.

Referenced by threadfunc().

◆ parallel_routine

void(* synchronized_threads_t::thread_arg_t::parallel_routine) (int)

Definition at line 351 of file numatst.cpp.

Referenced by threadfunc().

◆ tid

int synchronized_threads_t::thread_arg_t::tid

Definition at line 349 of file numatst.cpp.

Referenced by threadfunc().


The documentation for this struct was generated from the following file: