Browse Source

Revert "total_queued should always be >= total_staged"

This reverts commit 5a861bf1e4.

No good.
nfactor-troky
Con Kolivas 13 years ago
parent
commit
3a9fd06c42
  1. 2
      main.c

2
main.c

@ -1191,7 +1191,7 @@ static void inc_queued(void) @@ -1191,7 +1191,7 @@ static void inc_queued(void)
static void dec_queued(void)
{
pthread_mutex_lock(&qd_lock);
if (total_queued > total_staged)
if (total_queued > 0)
total_queued--;
pthread_mutex_unlock(&qd_lock);
dec_staged(1);

Loading…
Cancel
Save