From 220c57e7ebc49a56cc91fa31308b1563f83a95fb Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 8 Jun 2010 08:25:56 +0200 Subject: bugfix: regression caused more locking action in msg.c than necessary also: bugfix: mutexes used to similate atomic instructions were not destructed --- action.c | 1 - 1 file changed, 1 deletion(-) (limited to 'action.c') diff --git a/action.c b/action.c index c8622764..0fac6cf8 100644 --- a/action.c +++ b/action.c @@ -955,7 +955,6 @@ submitBatch(action_t *pAction, batch_t *pBatch, int nElem, int *pbShutdownImmedi } else { if(nElem == 1) { pBatch->pElem[pBatch->iDoneUpTo++].state = BATCH_STATE_BAD; -// TODO: This is a mark, remove when no longer needed - Here was the bug, postincrement needs to be used, not preinc bDone = 1; } else { /* retry with half as much. Depth is log_2 batchsize, so recursion is not too deep */ -- cgit v1.2.3