Commit 6f0c8a0e authored by ahoms's avatar ahoms
Browse files

* show DebFmtThread as a 32-bit hex number


git-svn-id: https://scm.blissgarden.org/svn/lima/trunk@187 45c4679d-1946-429d-baad-37912b19538b
parent 1960c235
......@@ -394,7 +394,8 @@ void DebObj::heading(DebType type, ConstStr file_name, int line_nr)
}
if (DebHasFlag(flags, DebFmtThread)) {
os << sep << setw(6) << pthread_self() << setw(0);
unsigned int thread_id = (unsigned int) pthread_self();
os << sep << setw(8) << hex << thread_id << setw(0) << dec;
sep = " ";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment