gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet-scheme] 02/04: tests/mq: Add more information on "nothing lost w


From: gnunet
Subject: [gnunet-scheme] 02/04: tests/mq: Add more information on "nothing lost when sending concurrently".
Date: Wed, 27 Jul 2022 21:30:02 +0200

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

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit 4b0838fe85af005d20d18794bab8cc9a4298b29a
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Jul 27 21:22:32 2022 +0200

    tests/mq: Add more information on "nothing lost when sending concurrently".
    
    * tests/mq.scm ("nothing lost when sending concurrently"):
    Make some observations.
---
 tests/mq.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/mq.scm b/tests/mq.scm
index f73eab9..9583497 100644
--- a/tests/mq.scm
+++ b/tests/mq.scm
@@ -469,6 +469,13 @@ with @code{x}."
 ;; But possibly out-of-order!
 ;; TODO: infrequently hangs, in the last attempt it hung
 ;; after being run 14 times in a row.
+;;
+;; Does not happen with #:hz 0 (i.e., without preemption).
+;; IIRC, does not happen with #:parallelism 1 (i.e., a single OS-level
+;; thread).  After debugging, it turns out that the (thread ...)
+;; sometimes hangs, even though it never performs operations
+;; (TODO: confirm by replacing 'perform-operation') and CPU usage
+;; is 0%?
 (test-equal "nothing lost when sending concurrently"
   '()
   (let* ((mq (make-message-queue no-handlers

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