Updates to Semaphor

This commit is contained in:
S170H
2024-01-22 23:26:29 +01:00
parent fcdc4d17c1
commit 4dc0ae5e98
7 changed files with 9 additions and 5 deletions

View File

@@ -8,7 +8,6 @@ private:
int count;
std::mutex mtx;
std::condition_variable cond;
std::queue<std::thread::id> wait_queue; // Beispielhafte Warteschlange
public:
Semaphor(int i) : count(i) {}