gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: -doxygen fixes


From: gnunet
Subject: [taler-merchant] branch master updated: -doxygen fixes
Date: Sun, 01 Aug 2021 23:08:38 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new ddb61a66 -doxygen fixes
ddb61a66 is described below

commit ddb61a66435cd154f5a4d8e39b9a3c3a0530cc2b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Aug 1 23:08:36 2021 +0200

    -doxygen fixes
---
 src/backenddb/plugin_merchantdb_postgres.c | 24 +++---------------------
 src/include/taler_merchantdb_plugin.h      | 24 +++---------------------
 2 files changed, 6 insertions(+), 42 deletions(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index 0cb2149a..1eccc12b 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -156,16 +156,10 @@ postgres_create_tables (void *cls)
 /**
  * Register callback to be invoked on events of type @a es.
  *
- * Unlike many other calls, this function is thread-safe
- * and may be called from threads that are different
- * from the one that setup @a db. However, the @a cb
- * will always be called from the thread that runs
- * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler.
- *
- * @param db database context to use
+ * @param cls database context to use
  * @param es specification of the event to listen for
  * @param cb function to call when the event happens, possibly
- *         multiple times (until #GNUNET_PQ_event_listen_cancel() is invoked)
+ *         multiple times (until cancel is invoked)
  * @param cb_cls closure for @a cb
  * @return handle useful to cancel the listener
  */
@@ -187,12 +181,6 @@ postgres_event_listen (void *cls,
 /**
  * Stop notifications.
  *
- * Unlike many other calls, this function is thread-safe
- * and may be called from threads that are different
- * from the one that setup @a db. However, the @a cb
- * will always be called from the thread that runs
- * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler.
- *
  * @param eh handle to unregister.
  */
 static void
@@ -205,13 +193,7 @@ postgres_event_listen_cancel (struct 
GNUNET_DB_EventHandler *eh)
 /**
  * Notify all that listen on @a es of an event.
  *
- * Unlike many other calls, this function is thread-safe
- * and may be called from threads that are different
- * from the one that setup @a db. However, the @a cb
- * will always be called from the thread that runs
- * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler.
- *
- * @param db database context to use
+ * @param cls database context to use
  * @param es specification of the event to generate
  * @param extra additional event data provided
  * @param extra_size number of bytes in @a extra
diff --git a/src/include/taler_merchantdb_plugin.h 
b/src/include/taler_merchantdb_plugin.h
index d5c4e9b1..d54cafa3 100644
--- a/src/include/taler_merchantdb_plugin.h
+++ b/src/include/taler_merchantdb_plugin.h
@@ -719,16 +719,10 @@ struct TALER_MERCHANTDB_Plugin
   /**
    * Register callback to be invoked on events of type @a es.
    *
-   * Unlike many other calls, this function is thread-safe
-   * and may be called from threads that are different
-   * from the one that setup @a db. However, the @a cb
-   * will always be called from the thread that runs
-   * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler.
-   *
-   * @param db database context to use
+   * @param cls database context to use
    * @param es specification of the event to listen for
    * @param cb function to call when the event happens, possibly
-   *         multiple times (until #GNUNET_PQ_event_listen_cancel() is invoked)
+   *         multiple times (until cancel is invoked)
    * @param cb_cls closure for @a cb
    * @return handle useful to cancel the listener
    */
@@ -741,12 +735,6 @@ struct TALER_MERCHANTDB_Plugin
   /**
    * Stop notifications.
    *
-   * Unlike many other calls, this function is thread-safe
-   * and may be called from threads that are different
-   * from the one that setup @a db. However, the @a cb
-   * will always be called from the thread that runs
-   * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler.
-   *
    * @param eh handle to unregister.
    */
   void
@@ -756,13 +744,7 @@ struct TALER_MERCHANTDB_Plugin
   /**
    * Notify all that listen on @a es of an event.
    *
-   * Unlike many other calls, this function is thread-safe
-   * and may be called from threads that are different
-   * from the one that setup @a db. However, the @a cb
-   * will always be called from the thread that runs
-   * #GNUNET_PQ_event_do_poll() or the GNUnet scheduler.
-   *
-   * @param db database context to use
+   * @param cls database context to use
    * @param es specification of the event to generate
    * @param extra additional event data provided
    * @param extra_size number of bytes in @a extra

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]