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

Join detached threads as soon as we know we're exiting.
This way we get far fewer crashes since threads are gone before we
start cleaning up.


diffs (11 lines):

diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c
--- a/gdk/gdk_utils.c
+++ b/gdk/gdk_utils.c
@@ -643,6 +643,7 @@ GDKprepareExit(void)
                GDKfree(st);
        }
        MT_lock_unset(&GDKthreadLock);
+       join_detached_threads();
 }
 
 /* Register a thread that should be waited for in GDKreset.  The
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to