diff options
author | Alan Conway <aconway@apache.org> | 2010-01-14 18:55:46 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-01-14 18:55:46 +0000 |
commit | 8455ba0b116208f47ce238b384d4af274fa0edb6 (patch) | |
tree | 93afbe62eb9e823b04744ff9979f095f16eb3c4a /cpp/src/qpid/sys/AggregateOutput.cpp | |
parent | f0afda45f86254a027317f4ef540138ddeaf7b87 (diff) | |
download | qpid-python-8455ba0b116208f47ce238b384d4af274fa0edb6.tar.gz |
Removed dead code: OutputTask::hasOutput and Queue::checkForMessages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899356 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/AggregateOutput.cpp')
-rw-r--r-- | cpp/src/qpid/sys/AggregateOutput.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/qpid/sys/AggregateOutput.cpp b/cpp/src/qpid/sys/AggregateOutput.cpp index 709d3bc640..4f0a4fa5af 100644 --- a/cpp/src/qpid/sys/AggregateOutput.cpp +++ b/cpp/src/qpid/sys/AggregateOutput.cpp @@ -34,11 +34,6 @@ void AggregateOutput::activateOutput() { control.activateOutput(); } void AggregateOutput::giveReadCredit(int32_t credit) { control.giveReadCredit(credit); } -bool AggregateOutput::hasOutput() { - Mutex::ScopedLock l(lock); - return !tasks.empty(); -} - // Clear the busy flag and notify waiting threads in destructor. struct ScopedBusy { bool& flag; |