Skip to content

Commit 2a9e32c

Browse files
author
Amanda Butler
authored
Update phrasing in Thread.md
Update phrasing, as requested in comments, for clarity.
1 parent 3e78b7d commit 2a9e32c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/rtos/Thread.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ The Callback API provides a convenient way to pass arguments to spawned threads.
9191

9292
## Debugging tips
9393

94-
When debugging Thread, check the full RTX state (ready, blocked and so on) for a deadlock (two things waiting for each other) or a missed signal leading to an event machine stall. You can confirm a deadlock if you see two threads in the "blocked" state waiting for a resource that the other is supposed to signal.
94+
When debugging threads, check the full RTX state (ready, blocked and so on) for a deadlock (two things waiting for each other) or a missed signal leading to an event machine stall. You can confirm a deadlock if you see two threads in the "blocked" state each waiting for a resource that the other is supposed to signal.
9595

96-
To reduce deadlocks, proactively code in a safe way by maintaining a mental ordering of your mutexes and never claiming a high-level mutex while holding a low-level one.
96+
To reduce deadlocks, proactively code in a safe way by never claiming a high-level mutex while holding a low-level one.
9797

9898
## Related content
9999

0 commit comments

Comments
 (0)