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()) {
+ if (pthread_equal(*i, pthread_self())) {
return true;
}
}
return false;
-#endif
}