commit | 26ad185239ad718ff9906125a525fe14968b9444 | [log] [tgz] |
---|---|---|
author | Nigel Tao <[email protected]> | Thu Mar 23 01:14:56 2023 |
committer | Chromium LUCI CQ <[email protected]> | Thu Mar 23 01:14:56 2023 |
tree | 63784b3c6881d507d2f95b96127c644bd5703ba6 | |
parent | dcd0914faa3c00ef22fc48bcfcd08572c903f074 [diff] [blame] |
docs: fix Markdown typo Bug: None Test: N/A Change-Id: I0d07bd8396871d61ad4895885b40de0cb91064ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4363878 Reviewed-by: François Degros <[email protected]> Commit-Queue: François Degros <[email protected]> Auto-Submit: Nigel Tao <[email protected]> Cr-Commit-Position: refs/heads/main@{#1120935}
diff --git a/docs/threading_and_tasks.md b/docs/threading_and_tasks.md index 5ac8269ba..2eae39a7 100644 --- a/docs/threading_and_tasks.md +++ b/docs/threading_and_tasks.md
@@ -496,12 +496,14 @@ Methods that take `base::TaskTraits` can be be passed `{}` when default traits are sufficient. Default traits are appropriate for tasks that: + - Don’t block (ref. MayBlock and WithBaseSyncPrimitives); - Pertain to user-blocking activity; (explicitly or implicitly by having an ordering dependency with a component that does) - Can either block shutdown or be skipped on shutdown (thread pool is free to choose a fitting default). + Tasks that don’t match this description must be posted with explicit TaskTraits. [`base/task/task_traits.h`](https://cs.chromium.org/chromium/src/base/task/task_traits.h)