mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-13 23:26:16 +00:00
BooObject: Remove destructorLock()
Now that we have the fencing and atomic operations in place to ensure access to data on other threads will always occur before the use of delete, we can remove the destructor lock. This will be useful for making ObjToken's move assignment operator noexcept.
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
#endif
|
||||
#include "boo/graphicsdev/GL.hpp"
|
||||
|
||||
#include <condition_variable>
|
||||
#include <mutex>
|
||||
|
||||
extern DWORD g_mainThreadId;
|
||||
extern std::mutex g_nwmt;
|
||||
extern std::condition_variable g_nwcv;
|
||||
|
||||
Reference in New Issue
Block a user