summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2014-05-13 14:56:26 +1000
committerTim Mayberry <mojofunk@gmail.com>2014-05-14 09:48:33 +1000
commitb565357bf462de2e64671f5cc167bbc08eb84509 (patch)
treea37805c2d55f6dde5f4c64cc629a9864ba831ec0 /libs
parent2379321355365e1f6442eee368f71385b56ed9fd (diff)
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.
Diffstat (limited to 'libs')
-rw-r--r--libs/backends/dummy/dummy_audiobackend.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/backends/dummy/dummy_audiobackend.cc b/libs/backends/dummy/dummy_audiobackend.cc
index 7a3aa78513..6bc6e6da6e 100644
--- a/libs/backends/dummy/dummy_audiobackend.cc
+++ b/libs/backends/dummy/dummy_audiobackend.cc
@@ -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;
}