Flowgrind
Advanced TCP traffic generator
pthread_barrier_t Struct Reference

Object for barrier synchronization. More...

#include <fg_barrier.h>

Data Fields

pthread_cond_t cond
 Thread to suspend its execution until the condition is satisfied. More...
 
int count
 Required number of threads have to wait at the barrier. More...
 
pthread_mutex_t mutex
 Protect shared data structures from concurrent modifications. More...
 
int tripCount
 Current number of threads waiting at the barrier. More...
 

Detailed Description

Object for barrier synchronization.

Definition at line 40 of file fg_barrier.h.

Field Documentation

pthread_cond_t pthread_barrier_t::cond

Thread to suspend its execution until the condition is satisfied.

Definition at line 44 of file fg_barrier.h.

int pthread_barrier_t::count

Required number of threads have to wait at the barrier.

Definition at line 46 of file fg_barrier.h.

pthread_mutex_t pthread_barrier_t::mutex

Protect shared data structures from concurrent modifications.

Definition at line 42 of file fg_barrier.h.

int pthread_barrier_t::tripCount

Current number of threads waiting at the barrier.

Definition at line 48 of file fg_barrier.h.


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