Some defs for JCTB receiver

This commit is contained in:
2016-02-11 17:09:54 +01:00
parent a9958e3791
commit bd91aea713
2 changed files with 3 additions and 5 deletions

View File

@@ -78,7 +78,6 @@ int CircularFifo<Element>::getSemValue()
template<typename Element>
bool CircularFifo<Element>::push(Element*& item_)
{
int nextTail = increment(tail);
if(nextTail != head)
{
@@ -87,7 +86,6 @@ bool CircularFifo<Element>::push(Element*& item_)
sem_post(&free_mutex);
return true;
}
// queue was full
return false;
}