From 6d2cae28429f578f918c4e47a7b83b8c0c2d4308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Roussel?= Date: Tue, 27 Feb 2024 23:27:06 +0100 Subject: [PATCH] Update Thread naming section --- manual/techdoc.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manual/techdoc.tex b/manual/techdoc.tex index d60e16ad86..6d0d7675c4 100644 --- a/manual/techdoc.tex +++ b/manual/techdoc.tex @@ -519,4 +519,10 @@ \subsection{Frame images compression} The DXT1 compression used to reduce size of the images is a from-scratch implementation of the Extreme DXT Compression\footnote{\url{http://www.cauldron.sk/files/extreme_dxt_compression.pdf}} algorithm. The conversion of natural color index order to DXT1 order is performed on the server side, as it is an invariant operation, without dependencies on the input data. +\subsection{Thread naming} + +Most operating systems don't have adequate support for giving threads arbitrary names. Tracy supplements this by providing an alternative way via an internal lock-free list. On subsequent thread name queries this list is used, instead of the system facilities. + +When `setThreadName()` is called, Tracy will also set the thread name using the OS functionality when possible. These names can be then used by debuggers and other external tools. + \end{document}