summaryrefslogtreecommitdiff
path: root/libs/qm-dsp/thread/Thread.cpp
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-10-04 15:11:15 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-10-04 15:11:15 -0400
commit4178db5f632721eefb58c42d684fc10f8f4fb9da (patch)
treea549de293b1a4dd6b5c3f5070f44f95e5e829f46 /libs/qm-dsp/thread/Thread.cpp
parent4dc63966f0872efe768dad61eb9b8785d06b92d1 (diff)
globally remove all trailing whitespace from .cpp and .hpp files missed by previous commit
Diffstat (limited to 'libs/qm-dsp/thread/Thread.cpp')
-rw-r--r--libs/qm-dsp/thread/Thread.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/libs/qm-dsp/thread/Thread.cpp b/libs/qm-dsp/thread/Thread.cpp
index 85dcec3155..b2dd236051 100644
--- a/libs/qm-dsp/thread/Thread.cpp
+++ b/libs/qm-dsp/thread/Thread.cpp
@@ -58,9 +58,9 @@ Thread::start()
#endif
m_extant = true;
}
-}
+}
-void
+void
Thread::wait()
{
if (m_extant) {
@@ -233,7 +233,7 @@ Condition::unlock()
ReleaseMutex(m_mutex);
}
-void
+void
Condition::wait(int us)
{
if (us == 0) {
@@ -248,7 +248,7 @@ Condition::wait(int us)
DWORD ms = us / 1000;
if (us > 0 && ms == 0) ms = 1;
-
+
#ifdef DEBUG_CONDITION
cerr << "CONDITION DEBUG: " << (void *)GetCurrentThreadId() << ": Timed waiting on " << &m_condition << " \"" << m_name << "\"" << endl;
#endif
@@ -310,9 +310,9 @@ Thread::start()
#endif
m_extant = true;
}
-}
+}
-void
+void
Thread::wait()
{
if (m_extant) {
@@ -490,7 +490,7 @@ Condition::unlock()
pthread_mutex_unlock(&m_mutex);
}
-void
+void
Condition::wait(int us)
{
if (us == 0) {
@@ -514,7 +514,7 @@ Condition::wait(int us)
struct timespec timeout;
timeout.tv_sec = now.tv_sec;
timeout.tv_nsec = now.tv_usec * 1000;
-
+
#ifdef DEBUG_CONDITION
cerr << "CONDITION DEBUG: " << (void *)pthread_self() << ": Timed waiting on " << &m_condition << " \"" << m_name << "\"" << endl;
#endif
@@ -551,9 +551,9 @@ void
Thread::start()
{
abort();
-}
+}
-void
+void
Thread::wait()
{
abort();
@@ -611,7 +611,7 @@ Condition::lock()
abort();
}
-void
+void
Condition::wait(int us)
{
abort();