comparison gcc/gthr-tpf.h @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
21 You should have received a copy of the GNU General Public License and 21 You should have received a copy of the GNU General Public License and
22 a copy of the GCC Runtime Library Exception along with this program; 22 a copy of the GCC Runtime Library Exception along with this program;
23 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 23 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
24 <http://www.gnu.org/licenses/>. */ 24 <http://www.gnu.org/licenses/>. */
25 25
26 /* TPF needs its own version of gthr-*.h because TPF always links to 26 /* TPF needs its own version of gthr-*.h because TPF always links to
27 the thread library. However, for performance reasons we still do not 27 the thread library. However, for performance reasons we still do not
28 want to issue thread api calls unless a check is made to see that we 28 want to issue thread api calls unless a check is made to see that we
29 are running as a thread. */ 29 are running as a thread. */
30 30
31 #ifndef GCC_GTHR_TPF_H 31 #ifndef GCC_GTHR_TPF_H
204 return 0; 204 return 0;
205 } 205 }
206 206
207 static inline int 207 static inline int
208 __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) 208 __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex)
209 { 209 {
210 if (__tpf_pthread_active ()) 210 if (__tpf_pthread_active ())
211 { 211 {
212 pthread_mutexattr_t __attr; 212 pthread_mutexattr_t __attr;
213 int __r; 213 int __r;
214 214