remove no-op lock/unlock from Lock sub-classes

This commit is contained in:
Michael Davidsaver
2017-05-15 17:24:16 -04:00
parent bbe6cb2553
commit b05e7699b5
14 changed files with 0 additions and 384 deletions

View File

@@ -539,14 +539,6 @@ public:
{
BaseRequestImpl::lastRequest();
}
virtual void lock() {
// noop
}
virtual void unlock() {
// noop
}
};
@@ -1986,10 +1978,6 @@ public:
return m_ioid;
}
virtual void lock() {
// noop
}
virtual void send(ByteBuffer* buffer, TransportSendControl* control) {
control->startMessage((int8)17, 8);
buffer->putInt(m_channel->getServerChannelID());
@@ -2019,10 +2007,6 @@ public:
// TODO notify?
}
virtual void unlock() {
// noop
}
virtual void destroy()
{
{
@@ -2339,16 +2323,6 @@ public:
control->flush(true);
}
virtual void lock()
{
// noop
}
virtual void unlock()
{
// noop
}
Status start() {
Lock guard(m_mutex);
while (!m_monitorQueue.empty())
@@ -2703,16 +2677,6 @@ public:
m_monitorStrategy->release(monitorElement);
}
virtual void lock()
{
// noop
}
virtual void unlock()
{
// noop
}
};
@@ -4100,11 +4064,6 @@ private:
}
virtual void lock() {
// noop
}
virtual void send(ByteBuffer* buffer, TransportSendControl* control) {
m_channelMutex.lock();
bool issueCreateMessage = m_issueCreateMessage;
@@ -4139,10 +4098,6 @@ private:
}
}
virtual void unlock() {
// noop
}
/**
* Disconnects (destroys) all channels pending IO.