Skip to content

Commit

Permalink
xrCore/Threading/Lock.hpp: The lock allows recursion now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Nov 11, 2015
1 parent f6b56db commit a8f5a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrCore/Threading/Lock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class XRCORE_API Lock
bool IsLocked() const { return isLocked; }

private:
std::mutex mutex;
std::recursive_mutex mutex;
std::atomic_bool isLocked;
#ifdef CONFIG_PROFILE_LOCKS
const char *id;
Expand Down

0 comments on commit a8f5a35

Please sign in to comment.