Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common Modified Files: evas_pipe.c Log Message: remove thread deadlock! werd! =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_pipe.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- evas_pipe.c 18 Nov 2006 02:51:27 -0000 1.4 +++ evas_pipe.c 18 Nov 2006 03:24:40 -0000 1.5 @@ -123,6 +123,7 @@ #ifdef BUILD_PTHREAD int i, y, h; + if (!im->pipe) return; if (thread_num == 1) return; if (thread_num == 0) { @@ -176,13 +177,9 @@ y += info->h; #endif thinfo[i].info = info; - /* send startsignal */ -// printf("START %i\n", i); } /* tell worker threads to start */ -// pthread_barrier_init(&(thbarrier[1]), NULL, thread_num + 1); pthread_barrier_wait(&(thbarrier[0])); -// pthread_barrier_destroy(&(thbarrier[0])); #endif } @@ -198,10 +195,7 @@ if (thread_num > 1) { /* sync worker threads */ -// pthread_barrier_init(&(thbarrier[0]), NULL, thread_num + 1); pthread_barrier_wait(&(thbarrier[1])); -// pthread_barrier_destroy(&(thbarrier[1])); -// printf("DONE\n"); } else #endif ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs