mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
pipeline: use decimal representation for unique thread ID on FreeBSD
This matches the behaviour on Linux.
This commit is contained in:
parent
f97ba9000b
commit
20f0a69c75
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user