Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
7f1284c0da
  1. 2
      iguana/iguana777.c

2
iguana/iguana777.c

@ -689,7 +689,7 @@ void iguana_helper(void *arg)
polltimeout = coin->polltimeout; polltimeout = coin->polltimeout;
if ( coin->current != 0 && coin->current->hdrsi != coin->bundlescount-1 ) if ( coin->current != 0 && coin->current->hdrsi != coin->bundlescount-1 )
allcurrent = 0; allcurrent = 0;
//printf("h.%d [%d] bundleQ size.%d lag.%ld\n",helperid,bp->hdrsi,queue_size(&bundlesQ),time(NULL) - bp->nexttime); printf("h.%d [%d] bundleQ size.%d lag.%ld\n",helperid,bp->hdrsi,queue_size(&bundlesQ),time(NULL) - bp->nexttime);
coin->numbundlesQ--; coin->numbundlesQ--;
if ( coin->started != 0 && (bp->nexttime == 0 || time(NULL) >= bp->nexttime) && coin->active != 0 ) if ( coin->started != 0 && (bp->nexttime == 0 || time(NULL) >= bp->nexttime) && coin->active != 0 )
{ {

Loading…
Cancel
Save