mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-02 15:41:36 +02:00
trunk/branch integration: documentation
This commit is contained in:
parent
aa5edec47a
commit
06dad528cf
@ -83,10 +83,14 @@ public:
|
||||
/// The value will be between 0.0 (just started)
|
||||
/// and 1.0 (completed).
|
||||
|
||||
void cancel();
|
||||
virtual void cancel();
|
||||
/// Requests the task to cancel itself. For cancellation
|
||||
/// to work, the task's runTask() method must periodically
|
||||
/// call isCancelled() and react accordingly.
|
||||
///
|
||||
/// Can be overridden to implement custom behavior,
|
||||
/// but the base class implementation of cancel() should
|
||||
/// be called to ensure proper behavior.
|
||||
|
||||
bool isCancelled() const;
|
||||
/// Returns true if cancellation of the task has been
|
||||
|
Loading…
x
Reference in New Issue
Block a user