mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
Added NotificationQueue::remove function
This includes appropriate tests, which pass on my Mac 10.4 machine
This commit is contained in:
@@ -125,6 +125,10 @@ public:
|
||||
void clear();
|
||||
/// Removes all notifications from the queue.
|
||||
|
||||
bool remove(Notification::Ptr pNotification);
|
||||
/// Removes a notification from the queue.
|
||||
/// Returns true if remove succeeded, false otherwise
|
||||
|
||||
bool hasIdleThreads() const;
|
||||
/// Returns true if the queue has at least one thread waiting
|
||||
/// for a notification.
|
||||
|
||||
Reference in New Issue
Block a user