Changeset: 4d2e5a5c8571 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4d2e5a5c8571 Modified Files: monetdb5/mal/mal_profiler.c Branch: default Log Message:
Added warning. Profiler not thread safe diffs (11 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 @@ -551,6 +551,7 @@ openProfilerStream(stream *fd, int mode) prettify = (mode & PROFSINGLELINE) ? "": "\n"; /* show all in progress instructions for stethoscope startup */ + /* this code is not thread safe, because the inprogress administration may change concurrently */ if( (mode & PROFSHOWRUNNING) > 0){ for (i = 0; i < MAL_MAXCLIENTS; i++) { c = mal_clients+i; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list