diff options
author | Angus Gratton <angus@redyak.com.au> | 2023-11-30 16:06:32 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-12-08 12:47:00 +1100 |
commit | f5be0128e4da1417136495c20888f8291cd22386 (patch) | |
tree | 0a75714bdd2219bfdc36931c7e6a87d18b221950 /extmod/nimble/modbluetooth_nimble.c | |
parent | 66be82da7ce63e9c907d7d2ed00341dae80ee83f (diff) | |
download | micropython-f5be0128e4da1417136495c20888f8291cd22386.tar.gz micropython-f5be0128e4da1417136495c20888f8291cd22386.zip |
py: Add port-agnostic inline functions for event handling.
These are intended to replace MICROPY_EVENT_POLL_HOOK and
MICROPY_EVENT_POLL_HOOK_FAST, which are insufficient for tickless ports.
This implementation is along the lines suggested here:
https://github.com/micropython/micropython/issues/12925#issuecomment-1803038430
Currently any usage of these functions expands to use the existing hook
macros, but this can be switched over port by port.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'extmod/nimble/modbluetooth_nimble.c')
0 files changed, 0 insertions, 0 deletions