aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-10-27 08:32:14 +0200
committerMihai Moldovan <ionic@ionic.de>2017-10-27 08:46:39 +0200
commit6c3cf54ba84e9e31a5be62ab58391106d35eaff6 (patch)
tree1def8ff54a75046ae0e7860fcead2559747c1266 /bin
parent1829a35cd0413a752bad082967508ffd8b1c7d01 (diff)
downloadnx-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 'bin')
0 files changed, 0 insertions, 0 deletions