This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
nptl/sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h | 9 ++++ nptl/sysdeps/unix/sysv/linux/ia64/pthread_cond_wait.c | 20 ++++++++++ nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h | 11 ++++- nptl/sysdeps/unix/sysv/linux/powerpc/pthread_cond_broadcast.c | 20 ++++++++++ nptl/sysdeps/unix/sysv/linux/powerpc/pthread_cond_signal.c | 20 ++++++++++ nptl/sysdeps/unix/sysv/linux/powerpc/pthread_cond_timedwait.c | 20 ++++++++++ nptl/sysdeps/unix/sysv/linux/powerpc/pthread_cond_wait.c | 20 ++++++++++ sysdeps/generic/bits/confname.h | 9 ++++ sysdeps/posix/sysconf.c | 18 +++++++++ 9 files changed, 143 insertions(+), 4 deletions(-) --- /dev/null Fri Jul 23 03:18:18 2004 +++ robustmutexes/rtnptl/src/nptl/sysdeps/unix/sysv/linux/ia64/pthread_cond_ wait.c Fri May 21 11:11:25 2004 @@ -0,0 +1,20 @@ +/* Copyright (C) 2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by David Howell <david.p.howell@intel.com>, 2003. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#include "../i386/pthread_cond_wait.c" --- robustmutexes/rtnptl/src/nptl/sysdeps/unix/sysv/linux/ia64/bits/posix_op t.h:1.1.1.1.2.1 Tue Apr 13 03:40:43 2004 +++ robustmutexes/rtnptl/src/nptl/sysdeps/unix/sysv/linux/ia64/bits/posix_op t.h Tue Apr 13 03:56:02 2004 @@ -144,4 +144,13 @@ /* The clock selection interfaces are available. */ #define _POSIX_CLOCK_SELECTION 200112L +/* The Priority Inheritence of thread is available. */ +#define _POSIX_THREAD_PRIO_INHERIT 1 + +/* The Priority Protect of thread is available. */ +#define _POSIX_THREAD_PRIO_PROTECT 2 + +/* The robust mutex is available. */ +#define _POSIX_THREAD_ROBUST_MUTEX_NP 1 + #endif /* posix_opt.h */ --- robustmutexes/rtnptl/src/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevello ck.h:1.1.1.1.2.4 Tue Jul 6 14:15:34 2004 +++ robustmutexes/rtnptl/src/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevello ck.h Tue Jul 6 15:12:45 2004 @@ -13,7 +13,7 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with the GNU C Libr \ary; if not, write to the Free + License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ @@ -52,8 +52,8 @@ INTERNAL_SYSCALL_DECL (__err); \ long int __ret; \ \ - __ret = INTERNAL_SYSCALL (futex, __err, 4, \ - (futexp), FUTEX_WAIT, (val), (timespec)); \ + __ret = INTERNAL_SYSCALL (futex, __err, 5, \ + (futexp), FUTEX_WAIT, (val), (timespec), 0); \ INTERNAL_SYSCALL_ERROR_P (__ret, __err) ? -__ret : __ret; \ }) @@ -237,5 +237,10 @@ __lll_cond_wake (cond) #define lll_cond_broadcast(cond) \ __lll_cond_broadcast (cond) + +#include <linux/fulock.h> + +#include <lowlevelrtlock.h> + #endif /* lowlevellock.h */ --- /dev/null Fri Jul 23 03:18:19 2004 +++ robustmutexes/rtnptl/src/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_co nd_broadcast.c Fri May 21 11:11:26 2004 @@ -0,0 +1,20 @@ +/* Copyright (C) 2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Greg Weeks <greg.weeks@timesys.com>, 2003. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#include "../i386/pthread_cond_broadcast.c" --- /dev/null Fri Jul 23 03:18:19 2004 +++ robustmutexes/rtnptl/src/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_co nd_signal.c Fri May 21 11:11:26 2004 @@ -0,0 +1,20 @@ +/* Copyright (C) 2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Greg Weeks <greg.weeks@timesys.com>, 2003. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#include "../i386/pthread_cond_signal.c" --- /dev/null Fri Jul 23 03:18:19 2004 +++ robustmutexes/rtnptl/src/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_co nd_timedwait.c Fri May 21 11:11:26 2004 @@ -0,0 +1,20 @@ +/* Copyright (C) 2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Greg Weeks <greg.weeks@timesys.com>, 2003. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#include "../i386/pthread_cond_timedwait.c" --- /dev/null Fri Jul 23 03:18:19 2004 +++ robustmutexes/rtnptl/src/nptl/sysdeps/unix/sysv/linux/powerpc/pthread_co nd_wait.c Fri May 21 11:11:26 2004 @@ -0,0 +1,20 @@ +/* Copyright (C) 2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Greg Weeks <greg.weeks@timesys.com>, 2003. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#include "../i386/pthread_cond_wait.c" --- robustmutexes/rtnptl/src/sysdeps/generic/bits/confname.h:1.1.1.1.2.1 Fri Mar 26 02:42:11 2004 +++ robustmutexes/rtnptl/src/sysdeps/generic/bits/confname.h Sat May 15 06:24:17 2004 @@ -492,9 +492,16 @@ #define _SC_LEVEL4_CACHE_SIZE _SC_LEVEL4_CACHE_SIZE _SC_LEVEL4_CACHE_ASSOC, #define _SC_LEVEL4_CACHE_ASSOC _SC_LEVEL4_CACHE_ASSOC - _SC_LEVEL4_CACHE_LINESIZE + _SC_LEVEL4_CACHE_LINESIZE, #define _SC_LEVEL4_CACHE_LINESIZE _SC_LEVEL4_CACHE_LINESIZE /* Leave room here, maybe we need a few more cache levels some day. */ + _SC_THREAD_ROBUST_MUTEX_NP, +#define _SC_THREAD_ROBUST_MUTEX_NP _SC_THREAD_ROBUST_MUTEX_NP + _SC_THREAD_MUTEX_SERIAL_NP, +#define _SC_THREAD_MUTEX_SERIAL_NP _SC_THREAD_MUTEX_SERIAL_NP + _SC_THREAD_MUTEX_FAST_NP +#define _SC_THREAD_MUTEX_FAST_NP _SC_THREAD_MUTEX_FAST_NP + }; /* Values for the NAME argument to `confstr'. */ --- robustmutexes/rtnptl/src/sysdeps/posix/sysconf.c:1.1.1.1.2.2 Thu Jun 3 14:22:47 2004 +++ robustmutexes/rtnptl/src/sysdeps/posix/sysconf.c Fri Jun 4 02:25:59 2004 @@ -1183,6 +1183,24 @@ return zero which indicates that no information is available. */ return 0; + case _SC_THREAD_ROBUST_MUTEX_NP: +#ifdef _POSIX_THREAD_ROBUST_MUTEX_NP + return _POSIX_THREAD_ROBUST_MUTEX_NP; +#else + return -1; +#endif + case _SC_THREAD_MUTEX_SERIAL_NP: +#ifdef _POSIX_THREAD_MUTEX_SERIAL_NP + return _POSIX_THREAD_MUTEX_SERIAL_NP; +#else + return -1; +#endif + case _SC_THREAD_MUTEX_FAST_NP: +#ifdef _POSIX_THREAD_MUTEX_FAST_NP + return _POSIX_THREAD_MUTEX_FAST_NP; +#else + return -1; +#endif } } Boris Hu (Hu Jiangtao) Intel China Software Center 86-021-5257-4545#1277 iNET: 8-752-1277 ************************************ There are my thoughts, not my employer's. ************************************ "gpg --recv-keys --keyserver wwwkeys.pgp.net 0FD7685F" {0FD7685F:CFD6 6F5C A2CB 7881 725B CEA0 956F 9F14 0FD7 685F}
Attachment:
rtnptl-2.3.patch-6
Description: rtnptl-2.3.patch-6
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |