7 Commits

Author SHA1 Message Date
Lawrence Lee
17b9e7c107
Fix startup crash in debug build
Do not throw error when trying to get mutex lock.
2023-09-17 15:14:09 -07:00
Stephen Shkardoon
23f2a2fc9f Use _WIN32 instead of WIN32 to detect Windows
`WIN32` is not defined when building a 64-bit executable on Windows with Clang. `_WIN32` is the more appropriate option here.
http://web.archive.org/web/20191012035921/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system contains a handy table/matrix of the options and why this is best.
2023-08-13 17:09:49 +12:00
Hombre57
d912dd1e51 Ending conversion to std::thread and std::mutex 2023-07-04 00:30:25 +02:00
Hombre
808da1b8a3 Merge branch 'dev' into std-mutex 2019-12-24 00:24:28 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Hombre
55cc71608b Converting Glib's mutex (obsolete) to std::mutex
(no issue)
2019-09-03 22:10:04 +02:00
Adam Reichold
5883410354 Rework the thread utilities so that: We don't pay for a recursive mutex when we don't need the debugging capabilities, a race condition in the reader/writer locks is removed and the interfaces and (still inlined) implementations are separated for improved readability. 2016-01-30 20:39:54 +01:00