Changeset: 16e9e146208a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=16e9e146208a
Modified Files:
gdk/gdk_utils.c
Branch: Jun2016
Log Message:
Don't hide important calls in printf arguments.
diffs (15 lines):
diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c
--- a/gdk/gdk_utils.c
+++ b/gdk/gdk_utils.c
@@ -1300,7 +1300,10 @@ GDKreset(int status)
MT_Id victim = t->pid;
if (t->pid != pid) {
- fprintf(stderr, "#GDKexit: killing
thread %d\n", MT_kill_thread(victim));
+ int e;
+
+ e = MT_kill_thread(victim);
+ fprintf(stderr, "#GDKexit: killing
thread %d\n", e);
GDKnrofthreads --;
}
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list