diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2013-09-27 22:51:57 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2013-12-02 21:21:54 +1000 |
commit | 9b5440ec03edaaf7a795d819c211f40134a67dd4 (patch) | |
tree | 22503ff296021bb832dfde82cf142593704a0aa1 /libs/ardour/mtc_slave.cc | |
parent | 30da95b60930d2ce45cf2a3b9b2d3bc612002471 (diff) |
Use PBD::pthread_name in MTC_Slave for portability
Diffstat (limited to 'libs/ardour/mtc_slave.cc')
-rw-r--r-- | libs/ardour/mtc_slave.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index 0dee2a071b..1a1c5f2bec 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -309,11 +309,7 @@ MTC_Slave::update_mtc_time (const MIDI::byte *msg, bool was_full, framepos_t now to use a timestamp indicating when this MTC time was received. example: when we received a locate command via MMC. */ -#ifdef COMPILER_MSVC - DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", ::pthread_self().p)); -#else - DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", ::pthread_self())); -#endif + DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", pthread_name())); TimecodeFormat tc_format; bool reset_tc = true; |