diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-10-27 08:32:14 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-10-27 08:46:39 +0200 |
commit | 6c3cf54ba84e9e31a5be62ab58391106d35eaff6 (patch) | |
tree | 1def8ff54a75046ae0e7860fcead2559747c1266 /nxcomp/src/RenderTrapezoids.h | |
parent | 1829a35cd0413a752bad082967508ffd8b1c7d01 (diff) | |
download | nx-libs-6c3cf54ba84e9e31a5be62ab58391106d35eaff6.tar.gz nx-libs-6c3cf54ba84e9e31a5be62ab58391106d35eaff6.tar.bz2 nx-libs-6c3cf54ba84e9e31a5be62ab58391106d35eaff6.zip |
nxcomp/src/Log.cpp: add PID to thread ID output if requested.
The default function we use (if a thread name is not specified
explicitly) is pthread_self(). This function returns a number that is
guaranteed to be unique for each thread within a process, but this
assertion doesn't hold globally. Hence only using the thread ID is
ambiguous when logging from multiple processes.
Diffstat (limited to 'nxcomp/src/RenderTrapezoids.h')
0 files changed, 0 insertions, 0 deletions