Home
last modified time | relevance | path

Searched refs:gc_lock_depth (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dgc.c153 MP_STATE_MEM(gc_lock_depth) = 0; in gc_init()
178 MP_STATE_MEM(gc_lock_depth)++; in gc_lock()
184 MP_STATE_MEM(gc_lock_depth)--; in gc_unlock()
189 return MP_STATE_MEM(gc_lock_depth) != 0; in gc_is_locked()
323 MP_STATE_MEM(gc_lock_depth)++; in gc_collect_start()
363 MP_STATE_MEM(gc_lock_depth)--; in gc_collect_end()
369 MP_STATE_MEM(gc_lock_depth)++; in gc_sweep_all()
451 if (MP_STATE_MEM(gc_lock_depth) > 0) { in gc_alloc()
577 if (MP_STATE_MEM(gc_lock_depth) > 0) { in gc_free()
681 if (MP_STATE_MEM(gc_lock_depth) > 0) { in gc_realloc()
A Dmodmicropython.c133 return MP_OBJ_NEW_SMALL_INT(MP_STATE_MEM(gc_lock_depth)); in mp_micropython_heap_unlock()
139 return MP_OBJ_NEW_SMALL_INT(MP_STATE_MEM(gc_lock_depth)); in mp_micropython_heap_locked()
A Dmpstate.h84 uint16_t gc_lock_depth; member
/AliOS-Things-master/components/py_engine/engine/shared/runtime/
A Dpyexec.c591 if (MP_STATE_MEM(gc_lock_depth) != 0) { in pyexec_friendly_repl()
592 MP_STATE_MEM(gc_lock_depth) = 0; in pyexec_friendly_repl()

Completed in 8 milliseconds