Logo Search packages:      
Sourcecode: poco version File versions  Download package

void Poco::NotificationQueue::wakeUpAll (  ) 

Dispatches all queued notifications to the given notification center.

Definition at line 165 of file NotificationQueue.cpp.

Referenced by Poco::AsyncChannel::close(), and Poco::Net::TCPServerDispatcher::stop().

{
      FastMutex::ScopedLock lock(_mutex);
      for (WaitQueue::iterator it = _waitQueue.begin(); it != _waitQueue.end(); ++it)
      {
            (*it)->nfAvailable.set();
      }
      _waitQueue.clear();
}


Generated by  Doxygen 1.6.0   Back to index