Source-Changes-HG archive

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

[src/trunk]: src/lib/libpthread Bump PTHREAD__UNPARK_MAX to 128 as bandaid fo...



details:   https://anonhg.NetBSD.org/src/rev/2e4acc2e4bef
branches:  trunk
changeset: 1005733:2e4acc2e4bef
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Dec 18 15:11:57 2019 +0000

description:
Bump PTHREAD__UNPARK_MAX to 128 as bandaid for locking related hangs.

diffstat:

 lib/libpthread/pthread_int.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b09e24c79c7e -r 2e4acc2e4bef lib/libpthread/pthread_int.h
--- a/lib/libpthread/pthread_int.h      Wed Dec 18 14:51:24 2019 +0000
+++ b/lib/libpthread/pthread_int.h      Wed Dec 18 15:11:57 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_int.h,v 1.96 2019/12/16 20:45:40 uwe Exp $     */
+/*     $NetBSD: pthread_int.h,v 1.97 2019/12/18 15:11:57 joerg Exp $   */
 
 /*-
  * Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
 #define        PTHREAD_HIDE    /* nothing */
 #endif
 
-#define        PTHREAD__UNPARK_MAX     32
+#define        PTHREAD__UNPARK_MAX     128
 
 /*
  * The size of this structure needs to be no larger than struct



Home | Main Index | Thread Index | Old Index