From 06663c478d3dd8e50aa9f67df0c604e006d7ac33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 1 Dec 2020 00:46:26 +0100 Subject: [PATCH] Rename setCurrentThreadName to SetCurrentThreadName --- Common/Thread/ThreadUtil.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Common/Thread/ThreadUtil.h b/Common/Thread/ThreadUtil.h index 0a6b122e3c..336ce9337b 100644 --- a/Common/Thread/ThreadUtil.h +++ b/Common/Thread/ThreadUtil.h @@ -2,6 +2,10 @@ #include +// I plan to experiment with these to see if this approach can also work in C++. +// The major advantage compared to a normal mutex is that we use the type system +// to enforce that the resource is only accessed when the mutex is locked. + template class RustMutexProxy { public: