You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
samples: philosophers: Migrate to new task declaration
Move away from the `kobj_define` task declaration to use the new
`#[zephyr::thread]` to define these. This allows for a more natural
declaration where the thread just looks like an attribute added to a
regular function declaration.
This also eliminates the static Mutex, as the Mutex now has a
constructor that avoids allocation (it is still put in an Arc, though).
Signed-off-by: David Brown <[email protected]>
0 commit comments