pipeline: use decimal representation for unique thread ID on FreeBSD

This matches the behaviour on Linux.
This commit is contained in:
rdb 2019-02-14 22:40:46 +01:00
parent f97ba9000b
commit 20f0a69c75

View File

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