Minor fixes and fixing thread names.

This commit is contained in:
Ben Vanik
2015-05-25 21:10:28 -07:00
parent 7cabcad69e
commit e3ddcd44e7
6 changed files with 12 additions and 21 deletions

View File

@@ -71,8 +71,8 @@ class mutex {
private:
std::aligned_storage<_Mtx_internal_imp_size,
_Mtx_internal_imp_alignment>::type _Mtx_storage;
HANDLE holding_thread_;
bool debugger_waiting_;
HANDLE holding_thread_ = nullptr;
bool debugger_waiting_ = false;
_Mtx_t _Mymtx() noexcept { return (reinterpret_cast<_Mtx_t>(&_Mtx_storage)); }
};