Changeset: fb0d7fbf3ab6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fb0d7fbf3ab6
Modified Files:
monetdb5/mal/mal_profiler.c
Branch: default
Log Message:
Stop heartbeat when eventstream is gone.
diffs (12 lines):
diff --git a/monetdb5/mal/mal_profiler.c b/monetdb5/mal/mal_profiler.c
--- a/monetdb5/mal/mal_profiler.c
+++ b/monetdb5/mal/mal_profiler.c
@@ -1314,7 +1314,7 @@ static void profilerHeartbeat(void *dumm
gettimeofday(&tv,NULL);
prevclock = (time_t) tv.tv_sec;
- while (hbdelay){
+ while (hbdelay && eventstream){
MT_sleep_ms(hbdelay);
if (delayswitch > 0) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list