11 Commits (cf6845b1cf4680bb2eade175aaab00428bedf8ba)

Author SHA1 Message Date
Damien George f792e6c283 py/scheduler: Convert mp_sched_full and mp_sched_num_pending to macros. 5 years ago
Damien George 544c308c18 py/scheduler: Add option to wrap mp_sched_schedule in arbitrary attr. 5 years ago
Jim Mussared 8470cd0be9 py/scheduler: Add assert that scheduler is locked when unlocking. 5 years ago
Jim Mussared 243805d776 py/scheduler: Fix race in checking scheduler pending state. 5 years ago
Damien George abe2caf6df py/scheduler: Move clearing of kbd traceback to mp_keyboard_interrupt. 5 years ago
Damien George 8fb5c8fdd5 py/scheduler: Allow a port to specify attrs for mp_keyboard_interrupt. 5 years ago
Damien George 9efb36bfa6 py/scheduler: Move mp_keyboard_interrupt from lib/utils to py core. 5 years ago
Damien George 98a3911c43 py/scheduler: Add "raise_exc" argument to mp_handle_pending. 5 years ago
Jim Mussared bc66fe9064 py/scheduler: Rename sched_stack to sched_queue. 5 years ago
Andrew Leech 8977c7eb58 py/scheduler: Convert micropythyon.schedule() to a circular buffer. 6 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 8 years ago