Browse Source

pipeline: use decimal representation for unique thread ID on FreeBSD

This matches the behaviour on Linux.
rdb 6 years ago
parent
commit
20f0a69c75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pipeline/threadPosixImpl.cxx

+ 1 - 1
panda/src/pipeline/threadPosixImpl.cxx

@@ -181,7 +181,7 @@ join() {
 std::string ThreadPosixImpl::
 get_unique_id() const {
   std::ostringstream strm;
-  strm << getpid() << "." << _thread;
+  strm << getpid() << "." << (uintptr_t)_thread;
 
   return strm.str();
 }