Changeset: b77ead21ca8e for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b77ead21ca8e Modified Files: gdk/gdk_system.c Branch: Jul2021 Log Message:
in the embedded mode we could have threads without the tls. diffs (12 lines): diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c --- a/gdk/gdk_system.c +++ b/gdk/gdk_system.c @@ -383,6 +383,8 @@ join_threads(void) bool waited; struct winthread *self = TlsGetValue(threadslot); + if (!self) + return; EnterCriticalSection(&winthread_cs); do { waited = false; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list