Project

General

Profile

Actions

Task #1757

closed

Scheduler should have cancelAllEvents method to cancel all previously scheduled events

Added by Alex Afanasyev over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Base
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Without this method the only way to abort all scheduled events is to forcefully stop io_service. This is acceptable when io_service is exclusively used by Scheduler or within tightly coupled components. In some cases, io_service provides a common thread for unrelated components and there should be a non-intrusive way to abort all scheduled events.

Actions

Also available in: Atom PDF