Changeset: 538d779abd8c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=538d779abd8c
Modified Files:
monetdb5/mal/mal_dataflow.c
Branch: Feb2013
Log Message:
Don't block progress
If you have an instruction from the queue you should not be
punished with delays.
diffs (13 lines):
diff --git a/monetdb5/mal/mal_dataflow.c b/monetdb5/mal/mal_dataflow.c
--- a/monetdb5/mal/mal_dataflow.c
+++ b/monetdb5/mal/mal_dataflow.c
@@ -329,7 +329,8 @@ DFLOWworker(void *t)
MT_lock_unset(&flow->flowlock, "MALworker");
q_enqueue(flow->done, fe);
- MALresourceFairness(flow->cntxt, flow->mb, usec);
+ if ( fnxt == 0)
+ MALresourceFairness(flow->cntxt, flow->mb, usec);
}
GDKfree(GDKerrbuf);
GDKsetbuf(0);
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list