Mercurial > hg > CbC > CbC_gcc
diff 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 |
line wrap: on
line diff
--- a/gcc/gthr-tpf.h Sun Feb 07 18:28:00 2010 +0900 +++ b/gcc/gthr-tpf.h Fri Feb 12 23:39:51 2010 +0900 @@ -23,7 +23,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ -/* TPF needs its own version of gthr-*.h because TPF always links to +/* TPF needs its own version of gthr-*.h because TPF always links to the thread library. However, for performance reasons we still do not want to issue thread api calls unless a check is made to see that we are running as a thread. */ @@ -206,7 +206,7 @@ static inline int __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex) -{ +{ if (__tpf_pthread_active ()) { pthread_mutexattr_t __attr;