mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
libpbd: tweak for printing pthread ID (windows is int/*nix is ptr)
This commit is contained in:
parent
b5b4be96e3
commit
4969fb9e0b
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ void
|
||||||
PBD::debug_only_print (const char* prefix, string str)
|
PBD::debug_only_print (const char* prefix, string str)
|
||||||
{
|
{
|
||||||
if ((PBD::debug_bits & DEBUG::Threads).any()) {
|
if ((PBD::debug_bits & DEBUG::Threads).any()) {
|
||||||
printf ("0x%x (%s) ", (int) DEBUG_THREAD_SELF, pthread_name());
|
printf ("0x%lx (%s) ", (intptr_t) DEBUG_THREAD_SELF, pthread_name());
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((PBD::debug_bits & DEBUG::DebugTimestamps).any()) {
|
if ((PBD::debug_bits & DEBUG::DebugTimestamps).any()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue