From: Sebastian B. <sb...@us...> - 2013-12-24 09:24:00
|
Update of /cvsroot/simplemail/simplemail/gtk In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32477/gtk Modified Files: subthreads.c Log Message: Added SM_ENTER/SM_LEAVE pair for cleanup Index: subthreads.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/gtk/subthreads.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- subthreads.c 24 Dec 2013 09:17:23 -0000 1.46 +++ subthreads.c 24 Dec 2013 09:23:58 -0000 1.47 @@ -31,6 +31,7 @@ #include <glib.h> #include <gtk/gtk.h> +#include "debug.h" #include "lists.h" #include "support_indep.h" #include "subthreads.h" @@ -101,6 +102,8 @@ { struct thread_s *t; + SM_ENTER; + while (1) { g_mutex_lock(thread_list_mutex); @@ -123,6 +126,7 @@ g_mutex_free(thread_list_mutex); + SM_LEAVE; } /***************************************************************************************/ |