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/mpconfig.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/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index c5829a3e0..d96687b81 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -1291,6 +1291,10 @@ typedef double mp_float_t; // Extended modules +#ifndef MICROPY_PY_UASYNCIO +#define MICROPY_PY_UASYNCIO (0) +#endif + #ifndef MICROPY_PY_UCTYPES #define MICROPY_PY_UCTYPES (0) #endif |
