gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 05/164: added thread lib to setu perf


From: gnunet
Subject: [gnunet] 05/164: added thread lib to setu perf
Date: Fri, 30 Jul 2021 15:31:11 +0200

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

grothoff pushed a commit to branch master
in repository gnunet.

commit 162c505dd1769a8c7012afc510b6e687e7401da4
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Sat Apr 3 19:28:06 2021 +0200

    added thread lib to setu perf
---
 src/setu/Makefile.am     | 3 ++-
 src/setu/perf_setu_api.c | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/setu/Makefile.am b/src/setu/Makefile.am
index 75ee0912a..6e2865d8c 100644
--- a/src/setu/Makefile.am
+++ b/src/setu/Makefile.am
@@ -94,7 +94,8 @@ perf_setu_api_SOURCES = \
 perf_setu_api_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(top_builddir)/src/testing/libgnunettesting.la \
-  libgnunetsetu.la
+  libgnunetsetu.la \
+  $(PTHREAD)
 
 
 plugin_LTLIBRARIES = \
diff --git a/src/setu/perf_setu_api.c b/src/setu/perf_setu_api.c
index aa1f9ed19..1af647b80 100644
--- a/src/setu/perf_setu_api.c
+++ b/src/setu/perf_setu_api.c
@@ -408,12 +408,13 @@ run (void *cls,
 }
 
 static void perf_thread(void *arg) {
+
+    printf("OK\n");
     GNUNET_TESTING_service_run("perf_setu_api",
                                "arm",
                                "test_setu.conf",
                                &run,
                                NULL);
-    return NULL;
 }
 
 
@@ -475,6 +476,7 @@ static void execute_perf() {
 int
 main (int argc, char **argv)
 {
+
     GNUNET_log_setup ("perf_setu_api",
                       "WARNING",
                       NULL);

-- 
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]