mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 04:07:46 +01:00
Some defs for JCTB receiver
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user