aboutsummaryrefslogtreecommitdiffstats
path: root/src/ThreadsafeQueue.h
Commit message (Collapse)AuthorAgeFilesLines
* Update ThreadsafeQueue commentMatthias P. Braendli2018-04-201-1/+1
|
* ThreadsafeQueue: add wakeup event instead of custom termination markersMatthias P. Braendli2018-04-201-6/+29
| | | | | This avoids the issue that the ~SDR termination marker doesn't reach the consumer because it's still prebuffering
* Fix comment in threadsafequeueMatthias P. Braendli2018-04-101-1/+1
|
* Avoid copies in ThreadsafeQueue and BufferMatthias P. Braendli2018-03-061-16/+27
|
* Fix UHD buffering leading to out of memoryMatthias P. Braendli2016-06-241-5/+36
| | | | | | | | | | | | Since commit d9ef93e, UHD does not backpressure the modulator anymore. If a pipe input is used, the ODR-DabMux before also doesn't get any back-pressure, the modulation thread and the mux run a very high rate. This high rate fills the buffer between OutputUHD and its worker thread, until the out-of-memory killer kills ODR-DabMod. Less impact on ZMQ input, because that is throttled at the mux, but we still have a buffer that can grow in an uncontrolled way
* Fix intermittent underruns after a restartMatthias P. Braendli2015-06-051-18/+6
| | | | | | | | | | | | | | When using UHD without synchronous=1: After a modulator restart, the input ZMQ buffer is nearly empty, and the modulator actually gets blocked by the ThreadsafeQueue. This is visible by looking at the time deltas printed in the debugging code. This commit adds a minimal form of prebuffering (10 ETI frames) to the ZeroMQ input, and removes the useless minimum required size for the ThreadsafeQueue. In synchronous=1, the issue is not visible because the TIST defines the time to transmit, which will cause the ZMQ buffer to fill.
* Fix livelock in synchronous ZeroMQ scenarioMatthias P. Braendli2014-03-231-3/+8
|
* Some ThreadsafeQueue commentsMatthias P. Braendli2014-02-211-8/+28
|
* Replace CRC-DABMOD by ODR-DabModMatthias P. Braendli2014-02-071-4/+4
|
* crc-dabmod: add ZeroMQ input moduleMatthias P. Braendli (think)2013-11-101-0/+100