mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 17:07:40 +01:00
Disable some non-portable code that is only used for debugging
This commit is contained in:
parent
fa2dcea820
commit
2b93c878d0
1 changed files with 2 additions and 0 deletions
|
|
@ -583,10 +583,12 @@ Graph::process_one_route (Route* route)
|
|||
bool
|
||||
Graph::in_process_thread () const
|
||||
{
|
||||
#ifndef WIN32
|
||||
for (list<pthread_t>::const_iterator i = _thread_list.begin (); i != _thread_list.end(); ++i) {
|
||||
if (*i == pthread_self()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue