Commit db8401df authored by Geoff Simmons's avatar Geoff Simmons

trackrdrd: removed assert for SPMCQ (variables apparently not fresh)

parent ef99fed2
...@@ -94,7 +94,9 @@ void ...@@ -94,7 +94,9 @@ void
SPMCQ_Enq(dataentry *ptr) SPMCQ_Enq(dataentry *ptr)
{ {
AZ(pthread_mutex_lock(&spmcq_lock)); AZ(pthread_mutex_lock(&spmcq_lock));
#if 0
assert(enqs - deqs < config.maxdone); assert(enqs - deqs < config.maxdone);
#endif
enqs++; enqs++;
VSTAILQ_INSERT_TAIL(&enq_head, ptr, spmcq); VSTAILQ_INSERT_TAIL(&enq_head, ptr, spmcq);
if (VSTAILQ_EMPTY(&spmcq_head)) if (VSTAILQ_EMPTY(&spmcq_head))
......
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