Disable some non-portable code that is only used for debugging
This commit is contained in:
parent
fa2dcea820
commit
2b93c878d0
@ -583,10 +583,12 @@ Graph::process_one_route (Route* route)
|
|||||||
bool
|
bool
|
||||||
Graph::in_process_thread () const
|
Graph::in_process_thread () const
|
||||||
{
|
{
|
||||||
|
#ifndef WIN32
|
||||||
for (list<pthread_t>::const_iterator i = _thread_list.begin (); i != _thread_list.end(); ++i) {
|
for (list<pthread_t>::const_iterator i = _thread_list.begin (); i != _thread_list.end(); ++i) {
|
||||||
if (*i == pthread_self()) {
|
if (*i == pthread_self()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user