Delete job data when no response FIFO
This commit is contained in:
@@ -98,6 +98,8 @@ void *one_thread(void *arg) {
|
|||||||
myThread->runningOnKey=-1;
|
myThread->runningOnKey=-1;
|
||||||
mutexunlock(tp->incomingFifo.lockF);
|
mutexunlock(tp->incomingFifo.lockF);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
delNotifiedFIFO_elt(elt);
|
||||||
} while (!myThread->terminate);
|
} while (!myThread->terminate);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -279,6 +279,8 @@ static inline void pushTpool(tpool_t *t, notifiedFIFO_elt_t *msg) {
|
|||||||
|
|
||||||
if (msg->reponseFifo)
|
if (msg->reponseFifo)
|
||||||
pushNotifiedFIFO(msg->reponseFifo, msg);
|
pushNotifiedFIFO(msg->reponseFifo, msg);
|
||||||
|
else
|
||||||
|
delNotifiedFIFO_elt(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user