mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-16 23:07:13 +02:00
check of fifo level before trying to push in successfully
This commit is contained in:
@ -104,10 +104,10 @@ void Fifo::GetNewAddress(char*& address) {
|
||||
}
|
||||
|
||||
void Fifo::PushAddress(char*& address) {
|
||||
while(!fifoBound->push(address));
|
||||
int temp = fifoBound->getSemValue();
|
||||
if (temp > status_fifoBound)
|
||||
status_fifoBound = temp;
|
||||
while(!fifoBound->push(address));
|
||||
}
|
||||
|
||||
void Fifo::PopAddress(char*& address) {
|
||||
|
Reference in New Issue
Block a user