xous-core/libs
bunnie b456bfaf3b add busy-wait animation server and hooks for managing the same
Busy-wait animaitions are handled by a helper server that is normally
blocked. A single shared `bool` indicates whether the animation should
run or not.

When woken up, the busy-wait animator will check if the shared `bool`
is set, and if so, send a message to the main loop to update
the animation, then send wait an appropriate timeout and send itself
a message to re-check the animation status.

This particular format of server is fairly compact but can be vulnerable
to a "message storm" if busy state updates happen in rapid
succession without allowing the server to unblock and handle messages.
Thus, all messages to this server use a `try_send` method, with a silent
failure if the message can't be sent. In other words, if the animator
is already super busy and its queue is full, don't send it more messages,
just drop the existing updates so we can fail without a panic or deadlock.
The typical consequence of this is some UX inconsistency, which is
not a critical error.
2023-10-20 00:43:09 +08:00
..
chat add busy-wait animation server and hooks for managing the same 2023-10-20 00:43:09 +08:00
cos_table add a table-based implementation of cosine 2023-01-02 17:47:48 +08:00
mass-storage absorb new xous-rs version 2023-10-10 16:50:00 +08:00
tls absorb new xous-rs version 2023-10-10 16:50:00 +08:00
userprefs absorb new xous-rs version 2023-10-10 16:50:00 +08:00
xous-pio absorb new xous-rs version 2023-10-10 16:50:00 +08:00
xous-pl230 absorb new xous-rs version 2023-10-10 16:50:00 +08:00