aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-07-22 12:03:39 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-07-22 12:03:39 +0200
commitbdb970e4957b7d1cf22bc530a81b2b8a2ae9a2ce (patch)
treee462a1dd9e98a9a6c7db54eeb800e47e011b3ce3 /CommonLibs
parente6319ed32ad7e9d0739772d07ff230071c8f7973 (diff)
cosmetic: Fix trailing whitespace in several files
Diffstat (limited to 'CommonLibs')
-rw-r--r--CommonLibs/Interthread.h8
-rw-r--r--CommonLibs/Timeval.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/CommonLibs/Interthread.h b/CommonLibs/Interthread.h
index 42e6f7f..185112f 100644
--- a/CommonLibs/Interthread.h
+++ b/CommonLibs/Interthread.h
@@ -53,7 +53,7 @@ template <class T, class Fifo=PointerFIFO> class InterthreadQueue {
protected:
- Fifo mQ;
+ Fifo mQ;
mutable Mutex mLock;
mutable Signal mWriteSignal;
@@ -160,7 +160,7 @@ template <class T, class Fifo=PointerFIFO> class InterthreadQueue2 {
protected:
- Fifo mQ;
+ Fifo mQ;
mutable Mutex mLock;
mutable Signal mWriteSignal;
@@ -256,7 +256,7 @@ template <class T, class Fifo=PointerFIFO> class InterthreadQueue2 {
// This recurs (and the InterthreadQueue fills up with data)
// until the read thread's accumulated temporary priority causes it to
// get a second pre-emptive activation over the writing thread,
- // resulting in bursts of activity by the read thread.
+ // resulting in bursts of activity by the read thread.
{ ScopedLock lock(mLock);
mQ.put(val);
}
@@ -281,7 +281,7 @@ template <class T> class InterthreadQueueWithWait {
protected:
- PointerFIFO mQ;
+ PointerFIFO mQ;
mutable Mutex mLock;
mutable Signal mWriteSignal;
mutable Signal mReadSignal;
diff --git a/CommonLibs/Timeval.cpp b/CommonLibs/Timeval.cpp
index 420dd04..60bf7f6 100644
--- a/CommonLibs/Timeval.cpp
+++ b/CommonLibs/Timeval.cpp
@@ -81,7 +81,7 @@ long Timeval::delta(const Timeval& other) const
int32_t deltaNs = other.nsec() - nsec();
return 1000*deltaS + deltaNs/1000000;
}
-
+