samples: smp: pi: keep main thread sleeping until ready
Use `k_sem_take(,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 <williamt@cadence.com>
Loading
Please sign in to comment