13
0

Use pthread_equal in libmidi++ for portability

This commit is contained in:
Paul Davis 2013-07-11 11:51:59 -04:00
parent 157e21369e
commit 2048f766e9

View File

@ -458,7 +458,7 @@ JackMIDIPort::set_process_thread (pthread_t thr)
bool bool
JackMIDIPort::is_process_thread() JackMIDIPort::is_process_thread()
{ {
return (pthread_self() == _process_thread); return (pthread_equal(pthread_self(), _process_thread));
} }
void void