Use pthread_equal in libmidi++ for portability
This commit is contained in:
parent
157e21369e
commit
2048f766e9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user