mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
Use pthread_equal in libmidi++ for portability
This commit is contained in:
parent
157e21369e
commit
2048f766e9
1 changed files with 1 additions and 1 deletions
|
|
@ -458,7 +458,7 @@ JackMIDIPort::set_process_thread (pthread_t thr)
|
|||
bool
|
||||
JackMIDIPort::is_process_thread()
|
||||
{
|
||||
return (pthread_self() == _process_thread);
|
||||
return (pthread_equal(pthread_self(), _process_thread));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue