Home
last modified time | relevance | path

Searched refs:mp_pending_exception (Results 1 – 12 of 12) sorted by relevance

/dports/lang/micropython/micropython-1.17/py/
H A Dscheduler.c34 MP_STATE_MAIN_THREAD(mp_pending_exception) = exc; in MICROPY_WRAP_MP_SCHED_EXCEPTION()
71 mp_obj_t obj = MP_STATE_THREAD(mp_pending_exception); in mp_handle_pending()
73 MP_STATE_THREAD(mp_pending_exception) = MP_OBJ_NULL; in mp_handle_pending()
120 if (MP_STATE_THREAD(mp_pending_exception) != MP_OBJ_NULL || mp_sched_num_pending()) { in mp_sched_unlock()
153 if (MP_STATE_THREAD(mp_pending_exception) != MP_OBJ_NULL) { in mp_handle_pending()
154 mp_obj_t obj = MP_STATE_THREAD(mp_pending_exception); in mp_handle_pending()
155 MP_STATE_THREAD(mp_pending_exception) = MP_OBJ_NULL; in mp_handle_pending()
H A Dmpstate.h267 volatile mp_obj_t mp_pending_exception; member
H A Dvm.c1371 mp_obj_t obj = MP_STATE_THREAD(mp_pending_exception); in mp_execute_bytecode()
1373 MP_STATE_THREAD(mp_pending_exception) = MP_OBJ_NULL; in mp_execute_bytecode()
1387 if (MP_STATE_THREAD(mp_pending_exception) != MP_OBJ_NULL) { in mp_execute_bytecode()
1389 mp_obj_t obj = MP_STATE_THREAD(mp_pending_exception); in mp_execute_bytecode()
1390 MP_STATE_THREAD(mp_pending_exception) = MP_OBJ_NULL; in mp_execute_bytecode()
H A Dmodthread.c177 ts.mp_pending_exception = MP_OBJ_NULL; in thread_entry()
H A Dprofile.c300 if (MP_STATE_THREAD(mp_pending_exception) != MP_OBJ_NULL) { in mp_prof_callback_invoke()
H A Druntime.c65 MP_STATE_THREAD(mp_pending_exception) = MP_OBJ_NULL; in mp_init()
/dports/lang/micropython/micropython-1.17/ports/stm32/
H A Dpendsv.c63 if (MP_STATE_MAIN_THREAD(mp_pending_exception) == MP_OBJ_NULL) { in pendsv_kbd_intr()
66 MP_STATE_MAIN_THREAD(mp_pending_exception) = MP_OBJ_NULL; in pendsv_kbd_intr()
/dports/lang/micropython/micropython-1.17/ports/unix/
H A Dunix_mphal.c57 …if (MP_STATE_MAIN_THREAD(mp_pending_exception) == MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_kbd_exception)))… in sighandler()
/dports/lang/micropython/micropython-1.17/ports/windows/
H A Dwindows_mphal.c83 …if (MP_STATE_MAIN_THREAD(mp_pending_exception) == MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_kbd_exception)))… in console_sighandler()
/dports/lang/micropython/micropython-1.17/ports/nrf/modules/music/
H A Dmodmusic.c143 if (MP_STATE_THREAD(mp_pending_exception) != MP_OBJ_NULL) { in wait_async_music_idle()
/dports/lang/micropython/micropython-1.17/ports/nrf/boards/microbit/modules/
H A Dmicrobitdisplay.c152 if (MP_STATE_THREAD(mp_pending_exception) != MP_OBJ_NULL) { in wait_for_event()
/dports/lang/micropython/micropython-1.17/ports/esp8266/
H A Dmodnetwork.c242 if (MP_STATE_THREAD(mp_pending_exception) != NULL) { in esp_scan()