mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
Remove incorrect code for mingw in DummyAudioBackend::in_process_thread
I'm assuming this section was copied from the JackAudioBackend where the thread type is not pthread_t for mingw, but in the DummyAudioBackend it is.
This commit is contained in:
parent
2379321355
commit
b565357bf4
1 changed files with 0 additions and 6 deletions
|
|
@ -430,15 +430,9 @@ DummyAudioBackend::in_process_thread ()
|
|||
{
|
||||
for (std::vector<pthread_t>::const_iterator i = _threads.begin (); i != _threads.end (); ++i)
|
||||
{
|
||||
#ifdef COMPILER_MINGW
|
||||
if (*i == GetCurrentThread ()) {
|
||||
return true;
|
||||
}
|
||||
#else // pthreads
|
||||
if (pthread_equal (*i, pthread_self ()) != 0) {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue