Implement std::atomic and remove the old implementation Atomic and rename vector.hpp to vector

This commit is contained in:
Alex
2023-04-10 05:29:41 +03:00
parent b4dbf2c281
commit 70e11f17e7
31 changed files with 718 additions and 352 deletions

View File

@ -20,10 +20,10 @@
#include <types.h>
#include <filesystem.hpp>
#include <vector.hpp>
#include <memory.hpp>
#include <atomic.hpp>
#include <lock.hpp>
#include <vector>
#include <atomic>
namespace InterProcessCommunication
{
@ -59,7 +59,7 @@ namespace InterProcessCommunication
VirtualFileSystem::Node *Node;
void *Buffer;
long Length;
Atomic<bool> Listening;
std::atomic_bool Listening;
};
class IPC