summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2019-12-18 15:11:57 +0000
committerjoerg <joerg@NetBSD.org>2019-12-18 15:11:57 +0000
commit0d1d1a108c8d9dc1fcbd2d3f73819b4ae64bb632 (patch)
tree47c97440706c0b33486b029fa304df724cabb489 /lib/libpthread
parent2d46976ca7ac8b534fd6ae9b19c2b382f3a7a2ab (diff)
Bump PTHREAD__UNPARK_MAX to 128 as bandaid for locking related hangs.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/pthread_int.h b/lib/libpthread/pthread_int.h
index ef4a82ffe0e..3557da77780 100644
--- a/lib/libpthread/pthread_int.h
+++ b/lib/libpthread/pthread_int.h
@@ -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