Merge remote-tracking branches 'neheb/fwhfggwe', 'neheb/nvm2', 'neheb/nvm22', 'neheb/bvm' and 'neheb/cl2'
This commit is contained in:
@@ -53,7 +53,7 @@ class ScopeUnlock {
|
||||
public:
|
||||
explicit ScopeUnlock(Mutex &_mutex) noexcept:mutex(_mutex) {
|
||||
mutex.unlock();
|
||||
};
|
||||
}
|
||||
|
||||
~ScopeUnlock() noexcept {
|
||||
mutex.lock();
|
||||
|
@@ -58,7 +58,7 @@ SetThreadName(const char *name) noexcept
|
||||
|
||||
template<typename... Args>
|
||||
static inline void
|
||||
FormatThreadName(const char *fmt, gcc_unused Args&&... args) noexcept
|
||||
FormatThreadName(const char *fmt, [[maybe_unused]] Args&&... args) noexcept
|
||||
{
|
||||
#ifdef HAVE_THREAD_NAME
|
||||
SetThreadName(StringFormat<16>(fmt, args...));
|
||||
|
Reference in New Issue
Block a user