flipperzero-rs / flipperzero

Rust on the Flipper Zero
MIT License
518 stars 34 forks source link

Provide safe wrappers for thread notification API #190

Closed dcoles closed 2 hours ago

dcoles commented 1 week ago

Furi provides access to FreeRTOS Task Notification feature which can be used for syncronization between threads.

Task notifications act as u32 bitmask, so can be used to signal multiple potential interesting states on the target thread.

dcoles commented 21 hours ago

@JarvisCraft Thanks for the review. I've accepted your suggestions and added the repr(transparent) annotation.