aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-06 10:04:34 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-06 10:04:34 +0100
commita388fd6002f42ebc93c0e12116284be539e0cf0d (patch)
tree03cca539bfcf5517eb1d5d8ef7eab4e5336de81c /src/include
parentcb5d226e8618be53f7e14aa7d9c9b2dab4d50bba (diff)
downloadgnunet-a388fd6002f42ebc93c0e12116284be539e0cf0d.tar.gz
gnunet-a388fd6002f42ebc93c0e12116284be539e0cf0d.zip
propose barrier API
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_testing_netjail_lib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_netjail_lib.h b/src/include/gnunet_testing_netjail_lib.h
index 011db00f8..a05990cb0 100644
--- a/src/include/gnunet_testing_netjail_lib.h
+++ b/src/include/gnunet_testing_netjail_lib.h
@@ -421,7 +421,22 @@ struct GNUNET_MessageHeader *
421GNUNET_TESTING_send_local_test_finished_msg (enum GNUNET_GenericReturnValue rv); 421GNUNET_TESTING_send_local_test_finished_msg (enum GNUNET_GenericReturnValue rv);
422 422
423 423
424struct GNUNET_TESTING_Command
425GNUNET_TESTING_cmd_barrier_create (
426 const char *label);
427
424 428
429struct GNUNET_TESTING_Command
430GNUNET_TESTING_cmd_barrier_reached (
431 const char *label,
432 const char *barrier_label);
433
434
435// Wait for barrier to be reached by all, implies reached!
436struct GNUNET_TESTING_Command
437GNUNET_TESTING_cmd_barrier_await (
438 const char *label,
439 const char *barrier_label);
425 440
426 441
427struct GNUNET_TESTING_Command 442struct GNUNET_TESTING_Command