Changeset: 679b823acf9c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=679b823acf9c
Modified Files:
gdk/gdk_utils.c
Branch: Jun2016
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.
(grafted from c07b146a27b0139a5f5a9a522ec5eb8975f37a00)
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
@@ -705,6 +705,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