GNUnet 0.21.1
GNUNET_TESTING_Barrier Struct Reference

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/testing/testing.h>

Collaboration diagram for GNUNET_TESTING_Barrier:
[legend]

Data Fields

struct GNUNET_TESTING_Barrierprev
 Pointer to the previous prefix in the DLL. More...
 
struct GNUNET_TESTING_Barriernext
 Pointer to the next prefix in the DLL. More...
 
struct CommandListEntrycmds_head
 Head of the DLL with local commands the barrier is attached too. More...
 
struct CommandListEntrycmds_tail
 Tail of the DLL with local commands the barrier is attached too. More...
 
struct GNUNET_CONTAINER_MultiShortmapnodes
 Hash map containing the global known nodes which are not natted. More...
 
const char * name
 Name of the barrier. More...
 
unsigned int running_on_master
 Is this barrier running on the master. More...
 
unsigned int expected_reaches
 Number of commands attached to this barrier. More...
 
unsigned int reached
 Number of commands which reached this barrier. More...
 
double percentage_to_be_reached
 Percentage of of commands which need to reach the barrier to change state. More...
 
unsigned int number_to_be_reached
 Number of commands which need to reach the barrier to change state. More...
 
unsigned int shadow
 

Detailed Description

Definition at line 152 of file testing.h.

Field Documentation

◆ prev

struct GNUNET_TESTING_Barrier* GNUNET_TESTING_Barrier::prev

Pointer to the previous prefix in the DLL.

Definition at line 157 of file testing.h.

◆ next

struct GNUNET_TESTING_Barrier* GNUNET_TESTING_Barrier::next

Pointer to the next prefix in the DLL.

Definition at line 162 of file testing.h.

◆ cmds_head

struct CommandListEntry* GNUNET_TESTING_Barrier::cmds_head

Head of the DLL with local commands the barrier is attached too.

Definition at line 167 of file testing.h.

Referenced by barrier_reached_run(), free_barriers_cb(), and GNUNET_TESTING_finish_barrier_().

◆ cmds_tail

struct CommandListEntry* GNUNET_TESTING_Barrier::cmds_tail

Tail of the DLL with local commands the barrier is attached too.

Definition at line 172 of file testing.h.

Referenced by barrier_reached_run(), free_barriers_cb(), and GNUNET_TESTING_finish_barrier_().

◆ nodes

struct GNUNET_CONTAINER_MultiShortmap* GNUNET_TESTING_Barrier::nodes

Hash map containing the global known nodes which are not natted.

Definition at line 177 of file testing.h.

Referenced by barrier_attached(), free_barrier_node_cb(), free_barrier_nodes(), GNUNET_TESTING_barrier_get_node(), and start_helper().

◆ name

const char* GNUNET_TESTING_Barrier::name

◆ running_on_master

unsigned int GNUNET_TESTING_Barrier::running_on_master

Is this barrier running on the master.

Definition at line 187 of file testing.h.

◆ expected_reaches

unsigned int GNUNET_TESTING_Barrier::expected_reaches

Number of commands attached to this barrier.

Definition at line 192 of file testing.h.

Referenced by barrier_attached(), GNUNET_TESTING_barrier_crossable_(), and start_helper().

◆ reached

unsigned int GNUNET_TESTING_Barrier::reached

Number of commands which reached this barrier.

Definition at line 197 of file testing.h.

Referenced by barrier_reached(), barrier_reached_run(), and GNUNET_TESTING_barrier_crossable_().

◆ percentage_to_be_reached

double GNUNET_TESTING_Barrier::percentage_to_be_reached

Percentage of of commands which need to reach the barrier to change state.

Can not be used together with to_be_reached;

Definition at line 203 of file testing.h.

Referenced by GNUNET_TESTING_barrier_crossable_(), and GNUNET_TESTING_cmd_barrier_create().

◆ number_to_be_reached

unsigned int GNUNET_TESTING_Barrier::number_to_be_reached

Number of commands which need to reach the barrier to change state.

Can not be used together with percentage_to_be_reached;

Definition at line 209 of file testing.h.

Referenced by GNUNET_TESTING_barrier_crossable_(), GNUNET_TESTING_cmd_barrier_create(), and start_helper().

◆ shadow

unsigned int GNUNET_TESTING_Barrier::shadow

Definition at line 214 of file testing.h.

Referenced by start_helper().


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