]> Savannah Git Hosting - gnulib.git/commitdiff
pthread-rwlock: Attempt harder to avoid test failure on macOS.
authorBruno Haible <bruno@clisp.org>
Mon, 12 Aug 2024 12:56:46 +0000 (14:56 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 12 Aug 2024 12:56:46 +0000 (14:56 +0200)
* tests/test-pthread-rwlock-waitqueue.c (STEP_INTERVAL): Bump the
minimum interval to 200 ms on macOS.

ChangeLog
tests/test-pthread-rwlock-waitqueue.c

index c14cbaf1a79fdb9a95fa73cccac4a6d7bd23c972..730e85717f1bddd5349f49f05a09e74baa1a952d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2024-08-12  Bruno Haible  <bruno@clisp.org>
 
+       pthread-rwlock: Attempt harder to avoid test failure on macOS.
+       * tests/test-pthread-rwlock-waitqueue.c (STEP_INTERVAL): Bump the
+       minimum interval to 200 ms on macOS.
+
        pthread-rwlock: Attempt harder to avoid test failure on macOS.
        * tests/test-pthread-rwlock-waitqueue.c (STEP_INTERVAL): Bump the
        minimum interval to 100 ms on macOS.
index 7a1a2cde625663d906ed5346966385624f457864..ad190b5491f960ac20a902901d69e499e0bfdca4 100644 (file)
@@ -51,7 +51,7 @@
    RRR, RRRR, RRRRR fail.  */
 #if (defined __APPLE__ && defined __MACH__)
 /* macOS */
-# define STEP_INTERVAL 100000000 /* nanoseconds */
+# define STEP_INTERVAL 200000000 /* nanoseconds */
 #elif defined _WIN32 || defined __CYGWIN__
 /* Windows */
 # define STEP_INTERVAL 50000000 /* nanoseconds */