Skip to content

Commit

Permalink
Update Thread naming section
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Roussel committed Feb 27, 2024
1 parent 6811415 commit 6d2cae2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manual/techdoc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 6d2cae2

Please sign in to comment.