Commit b6e0e4fc authored by claes's avatar claes

Added a parameter to qdb_Get to make multible pool-buffered get's possible if...

Added a parameter to qdb_Get to make multible pool-buffered get's possible if needed without freeing previous buffer
parent 6aa6d311
/*
* Proview $Id: rt_qmon.c,v 1.6 2005-09-01 14:57:48 claes Exp $
* Proview $Id: rt_qmon.c,v 1.7 2006-02-10 14:53:03 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -761,7 +761,7 @@ export_thread ()
while (qdb->g->up) {
sched_yield();
qdb_ScopeLock {
bp = qdb_Get(&sts, qp, qcom_cTmoEternal, NULL);
bp = qdb_Get(&sts, qp, qcom_cTmoEternal, NULL, NO);
if (bp != NULL)
bp = qdb_DetachBuffer(&sts, bp);
} qdb_ScopeUnlock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment