Skip to content

Commit 6edefd8

Browse files
authored
fixed link
1 parent d539512 commit 6edefd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/parallel/concrt/cancellation-in-the-ppl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This document explains the role of cancellation in the Parallel Patterns Library
5050
- When possible, use cancellation tokens to cancel work. The [concurrency::cancellation_token](../../parallel/concrt/reference/cancellation-token-class.md) class defines a cancellation token.
5151

5252

53-
- When you use cancellation tokens, use the [concurrency::cancellation_token_source::cancel](reference/cancellation-token-source-class.md#cancel) method to initiate cancellation and the [concurrency::cancel_current_task](reference/concurrency-namespace-functions.md#cancel_current_task) function to respond to cancellation. Use the [concurrency::cancellation_token_source::is_canceled](reference/cancellation-token-source-class.md#is_canceled) method to check whether any other task has requested cancellation.
53+
- When you use cancellation tokens, use the [concurrency::cancellation_token_source::cancel](reference/cancellation-token-source-class.md#cancel) method to initiate cancellation and the [concurrency::cancel_current_task](reference/concurrency-namespace-functions.md#cancel_current_task) function to respond to cancellation. Use the [concurrency::cancellation_token::is_canceled](reference/cancellation-token-class.md#is_canceled) method to check whether any other task has requested cancellation.
5454

5555
- Cancellation does not occur immediately. Although new work is not started if a task or task group is cancelled, active work must check for and respond to cancellation.
5656

0 commit comments

Comments
 (0)