An entry for a barrier list. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/lib/testing/testing_api_barrier.h>
Data Fields | |
struct GNUNET_ShortHashCode | barrier_id |
struct GNUNET_TESTING_AsyncContext ** | waiting |
Context of barrier reached commands of our local interpreter that are currently blocked on this barrier. More... | |
unsigned int | cnt_waiting |
Length of the waiting array. More... | |
unsigned int | expected_reaches |
Number of total commands expected to be reached by the barrier. More... | |
unsigned int | reached |
Number of times the barrier has been reached. More... | |
bool | inherited |
Did we inherit the barrier from our parent loop? More... | |
bool | satisfied |
Did we reach expected_reaches? Used in particular if inherited is true and we cannot compute locally. More... | |
An entry for a barrier list.
Definition at line 33 of file testing_api_barrier.h.
struct GNUNET_ShortHashCode GNUNET_TESTING_Barrier::barrier_id |
Definition at line 36 of file testing_api_barrier.h.
Referenced by GNUNET_TESTING_add_barrier_(), GNUNET_TESTING_cmd_barrier_create(), and start_testcase().
struct GNUNET_TESTING_AsyncContext** GNUNET_TESTING_Barrier::waiting |
Context of barrier reached commands of our local interpreter that are currently blocked on this barrier.
Definition at line 42 of file testing_api_barrier.h.
Referenced by barrier_reached_run(), handle_helper_barrier_crossable(), and handle_helper_barrier_reached().
unsigned int GNUNET_TESTING_Barrier::cnt_waiting |
Length of the waiting array.
Definition at line 47 of file testing_api_barrier.h.
Referenced by barrier_reached_run(), handle_helper_barrier_crossable(), and handle_helper_barrier_reached().
unsigned int GNUNET_TESTING_Barrier::expected_reaches |
Number of total commands expected to be reached by the barrier.
Definition at line 52 of file testing_api_barrier.h.
Referenced by barrier_reached_run(), GNUNET_TESTING_cmd_barrier_create(), and handle_helper_barrier_reached().
unsigned int GNUNET_TESTING_Barrier::reached |
Number of times the barrier has been reached.
Only used if inherited is false.
Definition at line 58 of file testing_api_barrier.h.
Referenced by barrier_reached_run(), and handle_helper_barrier_reached().
bool GNUNET_TESTING_Barrier::inherited |
Did we inherit the barrier from our parent loop?
Definition at line 63 of file testing_api_barrier.h.
Referenced by barrier_reached_run(), handle_helper_barrier_reached(), and start_testcase().
bool GNUNET_TESTING_Barrier::satisfied |
Did we reach expected_reaches? Used in particular if inherited is true and we cannot compute locally.
Definition at line 69 of file testing_api_barrier.h.
Referenced by barrier_reached_run(), handle_helper_barrier_crossable(), and handle_helper_barrier_reached().