Commit f3be8499 authored by Sakthivel Velumani's avatar Sakthivel Velumani

Delete job data when no response FIFO

parent 1d9a4a42
...@@ -98,6 +98,8 @@ void *one_thread(void *arg) { ...@@ -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) { ...@@ -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);
} }
} }
......
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