From 6c95ab4d1e8f0d57d019f084f5adb13346c4c1fe Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 8 Mar 2020 14:05:57 +0100 Subject: [PATCH] Update manual. --- manual/tracy.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/tracy.tex b/manual/tracy.tex index e5063862..4c9a2a55 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -901,7 +901,7 @@ with TracyLockable(std::mutex, m_lock); \end{lstlisting} -Alternatively, you may use \texttt{TracyLockableN(type, varname, description)} to provide a custom lock name. +Alternatively, you may use \texttt{TracyLockableN(type, varname, description)} to provide a custom lock name at a global level, which will replace the automatically generated '\texttt{std::mutex m\_lock}'-like name. You may also set a custom name for a specific instance of a lock, through the \texttt{LockableName(varname, name, size)} macro. The standard \texttt{std::lock\_guard} and \texttt{std::unique\_lock} wrappers should use the \texttt{LockableBase(type)} macro for their template parameter (unless you're using C++17, with improved template argument deduction). For example: