feat(lock): add basic lock functions

This commit is contained in:
fallenoak 2023-03-03 15:34:02 -06:00 committed by GitHub
parent 3b5da1af9c
commit e8d3709d31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 207 additions and 0 deletions

16
bc/lock/Atomic.hpp Normal file
View file

@ -0,0 +1,16 @@
#ifndef BC_LOCK_ATOMIC_HPP
#define BC_LOCK_ATOMIC_HPP
#include <cstdint>
namespace Blizzard {
namespace Lock {
namespace Atomic {
int32_t Increment(volatile int32_t* value);
} // namespace Atomic
} // namespace Lock
} // namespace Blizzard
#endif