diff options
author | Damien George <damien.p.george@gmail.com> | 2020-03-12 16:46:20 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-03-26 01:25:45 +1100 |
commit | bc009fdd62f913e36443f8267ffb6133f537fff3 (patch) | |
tree | 977959e2e1f54abaf233924188e8fcc5e61c8ab8 /py/builtin.h | |
parent | 081d06766223b326b6d7eeceae817b7a3a3f57b0 (diff) |
extmod/uasyncio: Add optional implementation of core uasyncio in C.
Implements Task and TaskQueue classes in C, using a pairing-heap data
structure. Using this reduces RAM use of each Task, and improves overall
performance of the uasyncio scheduler.
Diffstat (limited to 'py/builtin.h')
-rw-r--r-- | py/builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/builtin.h b/py/builtin.h index 2dbe8a782..1e4769cd6 100644 --- a/py/builtin.h +++ b/py/builtin.h @@ -103,6 +103,7 @@ extern const mp_obj_module_t mp_module_thread; extern const mp_obj_dict_t mp_module_builtins_globals; // extmod modules +extern const mp_obj_module_t mp_module_uasyncio; extern const mp_obj_module_t mp_module_uerrno; extern const mp_obj_module_t mp_module_uctypes; extern const mp_obj_module_t mp_module_uzlib; |