[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2159: add the missing preference settings for thread r/w locks (bug 3861)
Mats Wichmann
mats at linuxfoundation.org
Thu Sep 26 16:10:05 UTC 2013
------------------------------------------------------------
revno: 2159
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Thu 2013-09-26 10:10:05 -0600
message:
add the missing preference settings for thread r/w locks (bug 3861)
modified:
headers/All/4.1/pthread.h.defs
headers/All/5.0/pthread.h.defs
headers/pthread.h
package/Makefile
-------------- next part --------------
=== modified file 'headers/All/4.1/pthread.h.defs'
--- a/headers/All/4.1/pthread.h.defs 2013-02-07 16:41:47 +0000
+++ b/headers/All/4.1/pthread.h.defs 2013-09-26 16:10:05 +0000
@@ -39,6 +39,13 @@
PTHREAD_MUTEX_STALLED_NP = 0,
PTHREAD_MUTEX_ROBUST_NP = 1
};
+enum {
+ PTHREAD_RWLOCK_PREFER_READER_NP,
+ PTHREAD_RWLOCK_PREFER_WRITER_NP,
+ PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
+ PTHREAD_RWLOCK_DEFAULT_NP =
+ PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP
+};
typedef union {
struct __pthread_mutex_s __data;
=== modified file 'headers/All/5.0/pthread.h.defs'
--- a/headers/All/5.0/pthread.h.defs 2013-03-11 21:23:29 +0000
+++ b/headers/All/5.0/pthread.h.defs 2013-09-26 16:10:05 +0000
@@ -41,6 +41,13 @@
PTHREAD_MUTEX_ROBUST = 1,
PTHREAD_MUTEX_ROBUST_NP = 1
};
+enum {
+ PTHREAD_RWLOCK_PREFER_READER_NP,
+ PTHREAD_RWLOCK_PREFER_WRITER_NP,
+ PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
+ PTHREAD_RWLOCK_DEFAULT_NP =
+ PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP
+};
typedef union {
struct __pthread_mutex_s __data;
=== modified file 'headers/pthread.h'
--- a/headers/pthread.h 2013-03-11 21:23:29 +0000
+++ b/headers/pthread.h 2013-09-26 16:10:05 +0000
@@ -359,6 +359,14 @@
PTHREAD_MUTEX_ROBUST_NP = 1
};
+ enum {
+ PTHREAD_RWLOCK_PREFER_READER_NP,
+ PTHREAD_RWLOCK_PREFER_WRITER_NP,
+ PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
+ PTHREAD_RWLOCK_DEFAULT_NP =
+ PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP
+ };
+
#endif /* __LSB_VERSION__ >= 4.1 */
=== modified file 'package/Makefile'
--- a/package/Makefile 2013-09-24 23:06:13 +0000
+++ b/package/Makefile 2013-09-26 16:10:05 +0000
@@ -42,11 +42,11 @@
# Should have leading "."
# a big number (80-99) is leading up to the next minor spec
# build_env is version-independent so can wait till late to bump this
-SUB_VERSION=.43
+SUB_VERSION=.44
# We define this here instead of directly in the spec file as
# we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=5
+RPM_PACKAGE_RELEASE=1
# Initialize LIB64 to proper value for 64-bit architectures
export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)
More information about the lsb-messages
mailing list