comparison libgomp/config/linux/wait.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents a06113de4d67
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Copyright (C) 2008, 2009 Free Software Foundation, Inc. 1 /* Copyright (C) 2008, 2009, 2011 Free Software Foundation, Inc.
2 Contributed by Jakub Jelinek <jakub@redhat.com>. 2 Contributed by Jakub Jelinek <jakub@redhat.com>.
3 3
4 This file is part of the GNU OpenMP Library (libgomp). 4 This file is part of the GNU OpenMP Library (libgomp).
5 5
6 Libgomp is free software; you can redistribute it and/or modify it 6 Libgomp is free software; you can redistribute it and/or modify it
40 # pragma GCC visibility push(hidden) 40 # pragma GCC visibility push(hidden)
41 #endif 41 #endif
42 42
43 extern long int gomp_futex_wait, gomp_futex_wake; 43 extern long int gomp_futex_wait, gomp_futex_wake;
44 44
45 #include "futex.h" 45 #include <futex.h>
46 46
47 static inline void do_wait (int *addr, int val) 47 static inline void do_wait (int *addr, int val)
48 { 48 {
49 unsigned long long i, count = gomp_spin_count_var; 49 unsigned long long i, count = gomp_spin_count_var;
50 50