Mercurial > hg > CbC > CbC_gcc
comparison gcc/gthr-dce.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 | 77e2b8dfacca |
children |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
481 if (__gthread_active_p ()) | 481 if (__gthread_active_p ()) |
482 __gthrw_(pthread_mutex_init) (__mutex, pthread_mutexattr_default); | 482 __gthrw_(pthread_mutex_init) (__mutex, pthread_mutexattr_default); |
483 } | 483 } |
484 | 484 |
485 static inline int | 485 static inline int |
486 __gthread_mutx_destroy (__gthread_mutex_t *__mutex) | 486 __gthread_mutex_destroy (__gthread_mutex_t *__mutex) |
487 { | 487 { |
488 if (__gthread_active_p ()) | 488 if (__gthread_active_p ()) |
489 return __gthrw_(pthread_mutex_destroy) (__mutex); | 489 return __gthrw_(pthread_mutex_destroy) (__mutex); |
490 else | 490 else |
491 return 0; | 491 return 0; |