X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fgraph.cc;h=fe76fd74edf0bbe3c439d272ee3dcd96479334a2;hb=490311bc081b12d328e6e02cac8170538e96fb2f;hp=12752c158e91e0b54cbc0ba1c4ae9a9d87365c1d;hpb=aaabaf5d3c8624f398809bb468e2b121a23abda0;p=ardour.git diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc index 12752c158e..fe76fd74ed 100644 --- a/libs/ardour/graph.cc +++ b/libs/ardour/graph.cc @@ -584,12 +584,10 @@ Graph::process_one_route (Route* route) bool Graph::in_process_thread () const { -#ifndef WIN32 for (list::const_iterator i = _thread_list.begin (); i != _thread_list.end(); ++i) { - if (*i == pthread_self()) { + if (pthread_equal(*i, pthread_self())) { return true; } } return false; -#endif }