[riot-notifications] [RIOT-OS/RIOT] Proposal: eSAUL - Extended Sensor Actuator Uber Layer (#14121)

chrysn notifications at github.com
Tue May 26 17:28:03 CEST 2020


As I understand, we already plan on having a thread that polls any sensors for which there are subscribers. There'll be application threads that want notifications.

Another thread sitting inbetween would be rather pointless, as it'd need to solve the issue of how to get the events out just all over again -- and what for? Whichever flexibility that has to notify the application threads can just as well be exerted from the original polling thread. (And ideally should be usable from interrupts as well, in case the polling thread is later abandoned in favor of interrupt-driven methods).

The `xtimer` / `sock_async` approach already does that, and it *can* also be used to drive the events onto a message bus if the application author so desires (though I'd recommend against it for the abovementioned reasons).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/14121#issuecomment-634096932
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200526/05c10ea2/attachment.htm>


More information about the notifications mailing list