[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2075: part 2 missing glibc funcs: two pthread interfaces (bug 3748)

Mats Wichmann mats at linuxfoundation.org
Thu Feb 21 19:38:50 UTC 2013


------------------------------------------------------------
revno: 2075
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Thu 2013-02-21 12:38:50 -0700
message:
  part 2 missing glibc funcs: two pthread interfaces (bug 3748)
modified:
  headers/All/5.0/pthread.h.defs
  headers/pthread.h
  package/Makefile
  stub_libs/5.0/IA32/libpthread.Version
  stub_libs/5.0/IA32/libpthread.c
  stub_libs/5.0/IA64/libpthread.Version
  stub_libs/5.0/IA64/libpthread.c
  stub_libs/5.0/PPC32/libpthread.Version
  stub_libs/5.0/PPC32/libpthread.c
  stub_libs/5.0/PPC64/libpthread.Version
  stub_libs/5.0/PPC64/libpthread.c
  stub_libs/5.0/S390/libpthread.Version
  stub_libs/5.0/S390/libpthread.c
  stub_libs/5.0/S390X/libpthread.Version
  stub_libs/5.0/S390X/libpthread.c
  stub_libs/5.0/x86-64/libpthread.Version
  stub_libs/5.0/x86-64/libpthread.c
-------------- next part --------------
=== modified file 'headers/All/5.0/pthread.h.defs'
--- a/headers/All/5.0/pthread.h.defs	2013-02-07 16:41:47 +0000
+++ b/headers/All/5.0/pthread.h.defs	2013-02-21 19:38:50 +0000
@@ -160,9 +160,13 @@
 extern int pthread_cond_wait(pthread_cond_t * __cond,
 			     pthread_mutex_t * __mutex);
 extern int pthread_condattr_destroy(pthread_condattr_t * __attr);
+extern int pthread_condattr_getclock(const pthread_condattr_t * attr,
+				     clockid_t * clock_id);
 extern int pthread_condattr_getpshared(const pthread_condattr_t * __attr,
 				       int *__pshared);
 extern int pthread_condattr_init(pthread_condattr_t * __attr);
+extern int pthread_condattr_setclock(pthread_condattr_t * attr,
+				     clockid_t clock_id);
 extern int pthread_condattr_setpshared(pthread_condattr_t * __attr,
 				       int __pshared);
 extern int pthread_create(pthread_t * __newthread,

=== modified file 'headers/pthread.h'
--- a/headers/pthread.h	2013-02-07 16:41:47 +0000
+++ b/headers/pthread.h	2013-02-21 19:38:50 +0000
@@ -1171,6 +1171,13 @@
 					     int __pref);
 #endif				/* __LSB_VERSION__ >= 4.1 */
 
+#if __LSB_VERSION__ >= 50
+    extern int pthread_condattr_getclock(const pthread_condattr_t * attr,
+					 clockid_t * clock_id);
+    extern int pthread_condattr_setclock(pthread_condattr_t * attr,
+					 clockid_t clock_id);
+#endif				/* __LSB_VERSION__ >= 5.0 */
+
 #ifdef __cplusplus
 }
 #endif

=== modified file 'package/Makefile'
--- a/package/Makefile	2013-02-21 04:33:45 +0000
+++ b/package/Makefile	2013-02-21 19:38:50 +0000
@@ -46,7 +46,7 @@
 
 # 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=1
+RPM_PACKAGE_RELEASE=2
 
 # Initialize LIB64 to proper value for 64-bit architectures
 export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)

=== modified file 'stub_libs/5.0/IA32/libpthread.Version'
--- a/stub_libs/5.0/IA32/libpthread.Version	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/IA32/libpthread.Version	2013-02-21 19:38:50 +0000
@@ -158,6 +158,8 @@
 };
 GLIBC_2.3.3 {
   pthread_barrierattr_getpshared;
+  pthread_condattr_getclock;
+  pthread_condattr_setclock;
 };
 GLIBC_2.3.4 {
   pthread_setschedprio;

=== modified file 'stub_libs/5.0/IA32/libpthread.c'
--- a/stub_libs/5.0/IA32/libpthread.c	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/IA32/libpthread.c	2013-02-21 19:38:50 +0000
@@ -58,8 +58,10 @@
 void pthread_cond_timedwait() {} ;
 void pthread_cond_wait() {} ;
 void pthread_condattr_destroy() {} ;
+void pthread_condattr_getclock() {} ;
 void pthread_condattr_getpshared() {} ;
 void pthread_condattr_init() {} ;
+void pthread_condattr_setclock() {} ;
 void pthread_condattr_setpshared() {} ;
 void pthread_create() {} ;
 void pthread_detach() {} ;

=== modified file 'stub_libs/5.0/IA64/libpthread.Version'
--- a/stub_libs/5.0/IA64/libpthread.Version	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/IA64/libpthread.Version	2013-02-21 19:38:50 +0000
@@ -152,6 +152,8 @@
   pthread_attr_setstack;
   pthread_attr_setstacksize;
   pthread_barrierattr_getpshared;
+  pthread_condattr_getclock;
+  pthread_condattr_setclock;
 };
 GLIBC_2.3.4 {
   pthread_setschedprio;

=== modified file 'stub_libs/5.0/IA64/libpthread.c'
--- a/stub_libs/5.0/IA64/libpthread.c	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/IA64/libpthread.c	2013-02-21 19:38:50 +0000
@@ -58,8 +58,10 @@
 void pthread_cond_timedwait() {} ;
 void pthread_cond_wait() {} ;
 void pthread_condattr_destroy() {} ;
+void pthread_condattr_getclock() {} ;
 void pthread_condattr_getpshared() {} ;
 void pthread_condattr_init() {} ;
+void pthread_condattr_setclock() {} ;
 void pthread_condattr_setpshared() {} ;
 void pthread_create() {} ;
 void pthread_detach() {} ;

=== modified file 'stub_libs/5.0/PPC32/libpthread.Version'
--- a/stub_libs/5.0/PPC32/libpthread.Version	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/PPC32/libpthread.Version	2013-02-21 19:38:50 +0000
@@ -156,6 +156,8 @@
 };
 GLIBC_2.3.3 {
   pthread_barrierattr_getpshared;
+  pthread_condattr_getclock;
+  pthread_condattr_setclock;
 };
 GLIBC_2.3.4 {
   longjmp;

=== modified file 'stub_libs/5.0/PPC32/libpthread.c'
--- a/stub_libs/5.0/PPC32/libpthread.c	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/PPC32/libpthread.c	2013-02-21 19:38:50 +0000
@@ -58,8 +58,10 @@
 void pthread_cond_timedwait() {} ;
 void pthread_cond_wait() {} ;
 void pthread_condattr_destroy() {} ;
+void pthread_condattr_getclock() {} ;
 void pthread_condattr_getpshared() {} ;
 void pthread_condattr_init() {} ;
+void pthread_condattr_setclock() {} ;
 void pthread_condattr_setpshared() {} ;
 void pthread_create() {} ;
 void pthread_detach() {} ;

=== modified file 'stub_libs/5.0/PPC64/libpthread.Version'
--- a/stub_libs/5.0/PPC64/libpthread.Version	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/PPC64/libpthread.Version	2013-02-21 19:38:50 +0000
@@ -148,6 +148,8 @@
 };
 GLIBC_2.3.3 {
   pthread_barrierattr_getpshared;
+  pthread_condattr_getclock;
+  pthread_condattr_setclock;
 };
 GLIBC_2.3.4 {
   longjmp;

=== modified file 'stub_libs/5.0/PPC64/libpthread.c'
--- a/stub_libs/5.0/PPC64/libpthread.c	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/PPC64/libpthread.c	2013-02-21 19:38:50 +0000
@@ -58,8 +58,10 @@
 void pthread_cond_timedwait() {} ;
 void pthread_cond_wait() {} ;
 void pthread_condattr_destroy() {} ;
+void pthread_condattr_getclock() {} ;
 void pthread_condattr_getpshared() {} ;
 void pthread_condattr_init() {} ;
+void pthread_condattr_setclock() {} ;
 void pthread_condattr_setpshared() {} ;
 void pthread_create() {} ;
 void pthread_detach() {} ;

=== modified file 'stub_libs/5.0/S390/libpthread.Version'
--- a/stub_libs/5.0/S390/libpthread.Version	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/S390/libpthread.Version	2013-02-21 19:38:50 +0000
@@ -158,6 +158,8 @@
 };
 GLIBC_2.3.3 {
   pthread_barrierattr_getpshared;
+  pthread_condattr_getclock;
+  pthread_condattr_setclock;
 };
 GLIBC_2.3.4 {
   pthread_setschedprio;

=== modified file 'stub_libs/5.0/S390/libpthread.c'
--- a/stub_libs/5.0/S390/libpthread.c	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/S390/libpthread.c	2013-02-21 19:38:50 +0000
@@ -58,8 +58,10 @@
 void pthread_cond_timedwait() {} ;
 void pthread_cond_wait() {} ;
 void pthread_condattr_destroy() {} ;
+void pthread_condattr_getclock() {} ;
 void pthread_condattr_getpshared() {} ;
 void pthread_condattr_init() {} ;
+void pthread_condattr_setclock() {} ;
 void pthread_condattr_setpshared() {} ;
 void pthread_create() {} ;
 void pthread_detach() {} ;

=== modified file 'stub_libs/5.0/S390X/libpthread.Version'
--- a/stub_libs/5.0/S390X/libpthread.Version	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/S390X/libpthread.Version	2013-02-21 19:38:50 +0000
@@ -152,6 +152,8 @@
 };
 GLIBC_2.3.3 {
   pthread_barrierattr_getpshared;
+  pthread_condattr_getclock;
+  pthread_condattr_setclock;
 };
 GLIBC_2.3.4 {
   pthread_setschedprio;

=== modified file 'stub_libs/5.0/S390X/libpthread.c'
--- a/stub_libs/5.0/S390X/libpthread.c	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/S390X/libpthread.c	2013-02-21 19:38:50 +0000
@@ -58,8 +58,10 @@
 void pthread_cond_timedwait() {} ;
 void pthread_cond_wait() {} ;
 void pthread_condattr_destroy() {} ;
+void pthread_condattr_getclock() {} ;
 void pthread_condattr_getpshared() {} ;
 void pthread_condattr_init() {} ;
+void pthread_condattr_setclock() {} ;
 void pthread_condattr_setpshared() {} ;
 void pthread_create() {} ;
 void pthread_detach() {} ;

=== modified file 'stub_libs/5.0/x86-64/libpthread.Version'
--- a/stub_libs/5.0/x86-64/libpthread.Version	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/x86-64/libpthread.Version	2013-02-21 19:38:50 +0000
@@ -150,6 +150,8 @@
 };
 GLIBC_2.3.3 {
   pthread_barrierattr_getpshared;
+  pthread_condattr_getclock;
+  pthread_condattr_setclock;
 };
 GLIBC_2.3.4 {
   pthread_setschedprio;

=== modified file 'stub_libs/5.0/x86-64/libpthread.c'
--- a/stub_libs/5.0/x86-64/libpthread.c	2012-03-19 20:43:46 +0000
+++ b/stub_libs/5.0/x86-64/libpthread.c	2013-02-21 19:38:50 +0000
@@ -58,8 +58,10 @@
 void pthread_cond_timedwait() {} ;
 void pthread_cond_wait() {} ;
 void pthread_condattr_destroy() {} ;
+void pthread_condattr_getclock() {} ;
 void pthread_condattr_getpshared() {} ;
 void pthread_condattr_init() {} ;
+void pthread_condattr_setclock() {} ;
 void pthread_condattr_setpshared() {} ;
 void pthread_create() {} ;
 void pthread_detach() {} ;



More information about the lsb-messages mailing list