r133339 - in /branches/gomp-3_0-branch/libgomp:...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Mar 19 10:10:00 GMT 2008
Author: jakub
Date: Wed Mar 19 10:10:34 2008
New Revision: 133339
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133339
Log:
* config/linux/wait.h: Include errno.h.
(FUTEX_WAIT, FUTEX_WAKE, FUTEX_PRIVATE_FLAG): Define.
(gomp_futex_wake, gomp_futex_wait): New extern decls.
* config/linux/mutex.c (gomp_futex_wake, gomp_futex_wait): New
variables.
* config/linux/powerpc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
(sys_futex0): Return error code.
(futex_wake, futex_wait): If ENOSYS was returned, clear
FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
* config/linux/alpha/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
(futex_wake, futex_wait): If ENOSYS was returned, clear
FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
* config/linux/x86/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
(sys_futex0): Return error code.
(futex_wake, futex_wait): If ENOSYS was returned, clear
FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
* config/linux/s390/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
(sys_futex0): Return error code.
(futex_wake, futex_wait): If ENOSYS was returned, clear
FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
* config/linux/ia64/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
(sys_futex0): Return error code.
(futex_wake, futex_wait): If ENOSYS was returned, clear
FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
* config/linux/sparc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove.
(sys_futex0): Return error code.
(futex_wake, futex_wait): If ENOSYS was returned, clear
FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry.
Modified:
branches/gomp-3_0-branch/libgomp/ChangeLog.gomp
branches/gomp-3_0-branch/libgomp/config/linux/alpha/futex.h
branches/gomp-3_0-branch/libgomp/config/linux/ia64/futex.h
branches/gomp-3_0-branch/libgomp/config/linux/mutex.c
branches/gomp-3_0-branch/libgomp/config/linux/powerpc/futex.h
branches/gomp-3_0-branch/libgomp/config/linux/s390/futex.h
branches/gomp-3_0-branch/libgomp/config/linux/sparc/futex.h
branches/gomp-3_0-branch/libgomp/config/linux/wait.h
branches/gomp-3_0-branch/libgomp/config/linux/x86/futex.h
More information about the Gcc-cvs
mailing list