Mercurial > hg > CbC > CbC_gcc
diff libgomp/team.c @ 19:58ad6c70ea60
update gcc from 4.4.0 to 4.4.1.
author | kent@firefly.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 13:21:57 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/libgomp/team.c Thu Sep 24 13:06:16 2009 +0900 +++ b/libgomp/team.c Thu Sep 24 13:21:57 2009 +0900 @@ -125,6 +125,7 @@ while (local_fn); } + gomp_sem_destroy (&thr->release); return NULL; } @@ -201,6 +202,7 @@ struct gomp_thread_pool *pool = (struct gomp_thread_pool *) thread_pool; gomp_barrier_wait_last (&pool->threads_dock); + gomp_sem_destroy (&gomp_thread ()->release); pthread_exit (NULL); }