17 Commits (d290f369d08990cba4b5c2e0d207f8603c5166b0)

Author SHA1 Message Date
David Lechner 259d9b69fe py/mpstate: Schedule KeyboardInterrupt on main thread. 4 years ago
David Lechner ca920f7218 py/mpstate: Make exceptions thread-local. 4 years ago
Damien George aa061ae391 py/scheduler: Add missing MICROPY_WRAP_MP_SCHED_EXCEPTION usage. 4 years ago
Damien George 916c3fd23f py/scheduler: Add optional port hook for when something is scheduled. 4 years ago
Damien George e9e9c76ddf all: Rename mp_keyboard_interrupt to mp_sched_keyboard_interrupt. 4 years ago
Damien George 7cbf826a95 py/scheduler: Add mp_sched_exception() to schedule a pending exception. 4 years ago
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