Changeset: b8dd0285537f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b8dd0285537f
Modified Files:
        gdk/gdk_system.c
Branch: default
Log Message:

add join_threads in MT_create_thread, solves memory leak


diffs (11 lines):

diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c
--- a/gdk/gdk_system.c
+++ b/gdk/gdk_system.c
@@ -531,6 +531,7 @@ MT_create_thread(MT_Id *t, void (*f) (vo
        int ret;
        struct posthread *p = NULL;
 
+       join_threads();
 #ifdef HAVE_PTHREAD_SIGMASK
        (void) sigfillset(&new_mask);
        MT_thread_sigmask(&new_mask, &orig_mask);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to