diff options
-rw-r--r-- | nptl/ChangeLog | 61 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/lowlevelcond.h | 23 |
2 files changed, 54 insertions, 30 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 3125119adf..94e0eb64dc 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -4,36 +4,37 @@ lowlevelsem. Add sem_wait, sem_trywait, sem_timedwait, sem_post, pthread_cond_wait, pthread_cond_timedwait, pthread_cond_signal, and pthread_cond_broadcast. - * sysdeps/unix/sysv/linux/i486/lowlevelsem.S: Removed - * sysdeps/unix/sysv/linux/i486/lowlevelcond.S: Removed - * sysdeps/unix/sysv/linux/i586/lowlevelsem.S: Removed - * sysdeps/unix/sysv/linux/i586/lowlevelcond.S: Removed - * sysdeps/unix/sysv/linux/i686/lowlevelsem.S: Removed - * sysdeps/unix/sysv/linux/i686/lowlevelcond.S: Removed - * sysdeps/unix/sysv/linux/i486/sem_wait.S: New file. - * sysdeps/unix/sysv/linux/i486/sem_trywait.S: New file. - * sysdeps/unix/sysv/linux/i486/sem_timedwait.S: New file. - * sysdeps/unix/sysv/linux/i486/sem_post.S: New file. - * sysdeps/unix/sysv/linux/i486/pthread_cond_wait.S: New file. - * sysdeps/unix/sysv/linux/i486/pthread_cond_timedwait.S: New file. - * sysdeps/unix/sysv/linux/i486/pthread_cond_signal.S: New file. - * sysdeps/unix/sysv/linux/i486/pthread_cond_broadcast.S: New file. - * sysdeps/unix/sysv/linux/i586/sem_wait.S: New file. - * sysdeps/unix/sysv/linux/i586/sem_trywait.S: New file. - * sysdeps/unix/sysv/linux/i586/sem_timedwait.S: New file. - * sysdeps/unix/sysv/linux/i586/sem_post.S: New file. - * sysdeps/unix/sysv/linux/i586/pthread_cond_wait.S: New file. - * sysdeps/unix/sysv/linux/i586/pthread_cond_timedwait.S: New file. - * sysdeps/unix/sysv/linux/i586/pthread_cond_signal.S: New file. - * sysdeps/unix/sysv/linux/i586/pthread_cond_broadcast.S: New file. - * sysdeps/unix/sysv/linux/i686/sem_wait.S: New file. - * sysdeps/unix/sysv/linux/i686/sem_trywait.S: New file. - * sysdeps/unix/sysv/linux/i686/sem_timedwait.S: New file. - * sysdeps/unix/sysv/linux/i686/sem_post.S: New file. - * sysdeps/unix/sysv/linux/i686/pthread_cond_wait.S: New file. - * sysdeps/unix/sysv/linux/i686/pthread_cond_timedwait.S: New file. - * sysdeps/unix/sysv/linux/i686/pthread_cond_signal.S: New file. - * sysdeps/unix/sysv/linux/i686/pthread_cond_broadcast.S: New file. + * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Removed + * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Removed + * sysdeps/unix/sysv/linux/i386/i586/lowlevelsem.S: Removed + * sysdeps/unix/sysv/linux/i386/i586/lowlevelcond.S: Removed + * sysdeps/unix/sysv/linux/i386/i686/lowlevelsem.S: Removed + * sysdeps/unix/sysv/linux/i386/i686/lowlevelcond.S: Removed + * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: New file. + * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: New file. + * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: New file. + * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: New file. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: New file. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: New file. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: New file. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: New file. + * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: New file. + * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: New file. + * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: New file. + * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: New file. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: New file. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: New file. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: New file. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: New file. + * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: New file. + * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: New file. + * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: New file. + * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: New file. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: New file. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: New file. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: New file. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: New file. + * sysdeps/unix/sysv/linux/i386/lowlevelcond.h: New file. * sysdeps/unix/sysv/linux/i386/createthread.c: Define PREPARE_CREATE and TLS_VALUE with x86-specific bits. All the rest diff --git a/nptl/sysdeps/unix/sysv/linux/i386/lowlevelcond.h b/nptl/sysdeps/unix/sysv/linux/i386/lowlevelcond.h new file mode 100644 index 0000000000..78e585f813 --- /dev/null +++ b/nptl/sysdeps/unix/sysv/linux/i386/lowlevelcond.h @@ -0,0 +1,23 @@ +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. + + 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. */ + +#define cond_lock 0 +#define total_seq 4 +#define wakeup_seq 12 +#define woken_seq 20 |