working need to put in shape of pi
This commit is contained in:
16
FifoQueue.hpp
Normal file
16
FifoQueue.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <queue>
|
||||
#include <mutex>
|
||||
|
||||
class FifoQueue{
|
||||
private:
|
||||
std::mutex qMutex;
|
||||
public:
|
||||
std::queue<int> FifoQueue;
|
||||
|
||||
bool empty();
|
||||
void pop();
|
||||
void push(int i);
|
||||
unsigned int front();
|
||||
};
|
||||
Reference in New Issue
Block a user