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

r6683 - in glibc-package/branches/glibc-2.21/debian: . patches/hurd-i386



Author: sthibault
Date: 2015-11-21 17:53:00 +0000 (Sat, 21 Nov 2015)
New Revision: 6683

Modified:
   glibc-package/branches/glibc-2.21/debian/changelog
   glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/tg-posix_thread.diff
Log:
  * patches/hurd-i386/tg-posix_thread.diff: Update, to define
    _POSIX_THREAD_KEYS_MAX, _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
    _POSIX_THREAD_THREADS_MAX.


Modified: glibc-package/branches/glibc-2.21/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.21/debian/changelog	2015-11-21 15:40:41 UTC (rev 6682)
+++ glibc-package/branches/glibc-2.21/debian/changelog	2015-11-21 17:53:00 UTC (rev 6683)
@@ -41,6 +41,9 @@
   [ Samuel Thibault ]
   * patches/hurd-i386/tg-pagesize.diff: Refresh.
   * patches/hurd-i386/submitted-handle-eprototype.diff: Refresh.
+  * patches/hurd-i386/tg-posix_thread.diff: Update, to define
+    _POSIX_THREAD_KEYS_MAX, _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
+    _POSIX_THREAD_THREADS_MAX.
 
  -- Aurelien Jarno <aurel32@debian.org>  Mon, 19 Oct 2015 07:05:23 +0200
 

Modified: glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/tg-posix_thread.diff
===================================================================
--- glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/tg-posix_thread.diff	2015-11-21 15:40:41 UTC (rev 6682)
+++ glibc-package/branches/glibc-2.21/debian/patches/hurd-i386/tg-posix_thread.diff	2015-11-21 17:53:00 UTC (rev 6683)
@@ -7,8 +7,8 @@
 
 ---
  sysdeps/mach/hurd/Makefile         |  4 ++++
- sysdeps/mach/hurd/bits/posix_opt.h | 40 +++++++++++++++++++++++++-------------
- 2 files changed, 31 insertions(+), 13 deletions(-)
+ sysdeps/mach/hurd/bits/local_lim.h |  9 ++++++++
+ sysdeps/mach/hurd/bits/posix_opt.h | 42 +++++++++++++++++++++++++-------------
 
 diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
 index 68aedb6..4a6ee36 100644
@@ -25,6 +25,23 @@
  # Override the generic Makeconfig values so we link against the RPC libs.
  link-libc-static := -Wl,--start-group \
  		    $(patsubst %,$(common-objpfx)%.a,\
+diff --git a/sysdeps/mach/hurd/bits/local_lim.h b/sysdeps/mach/hurd/bits/local_lim.h
+index f7cc86c..570b5ce 100644
+--- a/sysdeps/mach/hurd/bits/local_lim.h
++++ b/sysdeps/mach/hurd/bits/local_lim.h
+@@ -32,3 +32,12 @@
+    suitable, and `sysconf' will return a number at least as large.  */
+ 
+ #define NGROUPS_MAX	256
++
++/* The number of data keys per process.  */
++#define _POSIX_THREAD_KEYS_MAX	128
++
++/* Controlling the iterations of destructors for thread-specific data.  */
++#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS	4
++
++/* The number of threads per process.  */
++#define _POSIX_THREAD_THREADS_MAX	64
 diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h
 index 940e376..24ef55c 100644
 --- a/sysdeps/mach/hurd/bits/posix_opt.h
@@ -101,8 +118,9 @@
 @@ -140,7 +154,7 @@
  #define _POSIX_TIMERS	0
  
- /* The barrier functions are not available.  */
+-/* The barrier functions are not available.  */
 -#define _POSIX_BARRIERS	-1
++/* We support barrier functions.  */
 +#define _POSIX_BARRIERS	200112L
  
  /* POSIX message queues could be available in future.  */


Reply to: