-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: smp: pi: keep main thread sleeping until ready
Use `k_sleep(K_FOREVER)` in the main thread to keep it sleeping while worker threads are running. The last worker thread to finish calculation wakes up the main thread. Signed-off-by: William Tambe <[email protected]>
- Loading branch information
1 parent
cdb9166
commit 6211d28
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters