Home
last modified time | relevance | path

Searched refs:ph_key (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmoduasyncio.c50 mp_obj_t ph_key; member
81 return MP_OBJ_SMALL_INT_VALUE(ticks_diff(t1->ph_key, t2->ph_key)) < 0; in task_lt()
111 task->ph_key = ticks(); in task_queue_push_sorted()
114 task->ph_key = args[2]; in task_queue_push_sorted()
170 self->ph_key = MP_OBJ_NEW_SMALL_INT(0); in task_make_new()
212 } else if (ticks_diff(self->ph_key, ticks()) > 0) { in task_cancel()
245 dest[0] = self->ph_key; in task_attr()
/AliOS-Things-master/components/py_engine/engine/extmod/uasyncio/
A Dtask.py16 lt = core.ticks_diff(h1.ph_key, h2.ph_key) < 0
104 v.ph_key = key
127 self.ph_key = 0 # Pairing heap
170 elif core.ticks_diff(self.ph_key, core.ticks()) > 0:
A Dcore.py162 dt = max(0, ticks_diff(t.ph_key, ticks()))

Completed in 6 milliseconds