Move FastQueue to sf_stream

This commit is contained in:
2020-06-09 10:10:19 +02:00
parent 3d35de427d
commit 5d2871185a
5 changed files with 4 additions and 3 deletions
-1
View File
@@ -1,7 +1,6 @@
#include "gtest/gtest.h"
#include "test_buffer_utils.cpp"
#include "test_bitshuffle.cpp"
#include "test_FastQueue.cpp"
using namespace std;
@@ -73,7 +73,7 @@ void FastQueue<T>::commit()
}
write_slot_id_++;
write_slot_id_ = write_slot_id_ % n_slots_;
write_slot_id_ %= n_slots_;
}
template<class T>
@@ -100,8 +100,9 @@ void FastQueue<T>::release()
}
read_slot_id_++;
read_slot_id_ = read_slot_id_ % n_slots_;
read_slot_id_ %= n_slots_;
}
template class FastQueue<BufferBinaryBlock>;
template class FastQueue<ModuleFrame>;
template class FastQueue<ModuleFrameBuffer>;
+1
View File
@@ -1,5 +1,6 @@
#include "gtest/gtest.h"
#include "test_LiveRecvModule.cpp"
#include "test_FastQueue.cpp"
using namespace std;