Home
last modified time | relevance | path

Searched refs:poller (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/py_engine/tests/extmod/
A Duselect_poll_basic.py13 poller = select.poll() variable
17 poller.register(s)
21 poller.register(s)
25 poller.modify(s)
29 poller.modify(s, select.POLLIN)
31 poller.unregister(s)
34 poller.modify(s, select.POLLIN)
39 poller.register(s)
41 p = poller.poll(0)
/AliOS-Things-master/components/py_engine/tests/net_hosted/
A Dconnect_poll.py11 poller = select.poll()
12 poller.register(s)
15 p = poller.poll(0)
21 print(len(poller.poll(0)))
24 p = poller.poll(1000)
/AliOS-Things-master/components/ble_host/bt_host/port/aos/
A Dpoll.c44 event->poller = NULL; in k_poll_event_init()
55 event->poller = NULL; in set_event_state()
118 struct _poller *poller) in add_event() argument
125 struct _poller * poller) in register_event() argument
130 add_event(&event->queue->poll_events, event, poller); in register_event()
134 add_event(&event->signal->poll_events, event, poller); in register_event()
138 add_event(&event->signal->poll_events, event, poller); in register_event()
145 event->poller = poller; in register_event()
153 event->poller = NULL; in clear_event_registration()
/AliOS-Things-master/components/py_engine/engine/extmod/uasyncio/
A Dcore.py71 self.poller = select.poll()
79 self.poller.register(s, select.POLLIN if idx == 0 else select.POLLOUT)
85 self.poller.modify(s, select.POLLIN | select.POLLOUT)
91 self.poller.unregister(s)
113 for s, ev in self.poller.ipoll(dt):
127 self.poller.modify(s, select.POLLOUT)
129 self.poller.modify(s, select.POLLIN)
/AliOS-Things-master/components/ble_host/include/
A Dble_os_port.h93 struct _poller *poller; member

Completed in 8 milliseconds