13
0

Disable some non-portable code that is only used for debugging

This commit is contained in:
Paul Davis 2013-07-11 15:08:47 -04:00
parent fa2dcea820
commit 2b93c878d0

View File

@ -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
} }