remove waiters from spinlock

This commit is contained in:
2023-10-21 16:48:45 +02:00
parent 83a2340944
commit d0343e69b3

View File

@@ -37,7 +37,6 @@ public:
private:
std::atomic<bool> locked = false;
struct TaskList *waiters = nullptr;
};
static_assert(std::is_trivially_copyable_v<Spinlock> == true);