update documentation
authorSree Harsha Totakura <totakura@in.tum.de>
Thu, 27 Oct 2016 15:02:36 +0000 (15:02 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Thu, 27 Oct 2016 15:02:36 +0000 (15:02 +0000)
src/include/gnunet_testbed_service.h

index f8a8ef38dca08e986ebb22c37aeffaab6483c637..1c8d83ff9693ec0443a2776b40f054ac3a9ff837 100644 (file)
@@ -1531,8 +1531,10 @@ enum GNUNET_TESTBED_BarrierStatus
  * @param cls the closure given to GNUNET_TESTBED_barrier_init()
  * @param name the name of the barrier
  * @param barrier the barrier handle
- * @param status status of the barrier; #GNUNET_OK if the barrier is crossed;
- *   #GNUNET_SYSERR upon error
+ * @param status status of the barrier.  The barrier is removed once it has been
+ *          crossed or an error occurs while processing it.  Therefore it is
+ *          invalid to call GNUNET_TESTBED_barrier_cancel() on a crossed or
+ *          errored barrier.
  * @param emsg if the status were to be #GNUNET_SYSERR, this parameter has the
  *   error messsage
  */