Libtrap: Internal development docs  1.16.1
Data Fields
reader_threads_s Struct Reference

#include <trap_internal.h>

Data Fields

pthread_t thr
 
sem_t sem
 

Detailed Description

List of threads and their semaphores.

It is used for multi-result reading when _get_data() is called with ifc_mask including more than one ifc.

Definition at line 200 of file trap_internal.h.

Field Documentation

◆ sem

sem_t reader_threads_s::sem

semaphore used when thread is ought to sleep

Definition at line 202 of file trap_internal.h.

◆ thr

pthread_t reader_threads_s::thr

thread of reader

Definition at line 201 of file trap_internal.h.


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