changeset 451:4395961aad27

Some libc seem to have an issue with canceled threads...
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 29 Jul 2010 14:37:33 +0900
parents f6e85a0694eb
children 2b36eccbe426
files libfreeDiameter/fifo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libfreeDiameter/fifo.c	Thu Jul 29 14:29:31 2010 +0900
+++ b/libfreeDiameter/fifo.c	Thu Jul 29 14:37:33 2010 +0900
@@ -177,9 +177,9 @@
 	/* And destroy it */
 	CHECK_POSIX(  pthread_mutex_unlock( &q->mtx )  );
 	
-	CHECK_POSIX(  pthread_cond_destroy( &q->cond )  );
+	CHECK_POSIX_DO(  pthread_cond_destroy( &q->cond ),  );
 	
-	CHECK_POSIX(  pthread_mutex_destroy( &q->mtx )  );
+	CHECK_POSIX_DO(  pthread_mutex_destroy( &q->mtx ),  );
 	
 	free(q);
 	*queue = NULL;
"Welcome to our mercurial repository"