Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 58) sorted by relevance

123

/AliOS-Things-master/components/py_engine/tests/multi_net/
A Dtcp_client_rst.py23 poll = select.poll()
24 poll.register(s2, select.POLLIN)
26 print(convert_poll_list(poll.poll(1000)))
30 print(convert_poll_list(poll.poll(1000)))
32 print(convert_poll_list(poll.poll(1000)))
34 print(convert_poll_list(poll.poll(1000)))
37 print(convert_poll_list(poll.poll(1000)))
40 print(convert_poll_list(poll.poll(1000)))
/AliOS-Things-master/components/py_engine/tests/extmod/
A Duselect_poll_udp.py15 poll = select.poll() variable
18 poll.register(s, select.POLLIN)
19 print(len(poll.poll(0)))
22 poll.modify(s, select.POLLOUT)
23 print(poll.poll(0)[0][1] == select.POLLOUT)
A Duselect_poll_basic.py7 select.poll # Raises AttributeError for CPython implementations without poll()
13 poller = select.poll()
41 p = poller.poll(0)
/AliOS-Things-master/components/select/
A DREADME.md6 select组件实现了IO多路复用机制select和poll
10 - poll
29 ├── poll
30 │   └── poll.c # aos_poll接口实现
51 aos_select/aos_poll功能定义与posix标准的select/poll兼容,可参考linux相关接口文档:
54 - 参考 [poll](https://man7.org/linux/man-pages/man2/poll.2.html)
126 +++++++poll example+++++++++
/AliOS-Things-master/components/py_engine/tests/net_hosted/
A Dconnect_poll.py11 poller = select.poll()
15 p = poller.poll(0)
21 print(len(poller.poll(0)))
24 p = poller.poll(1000)
/AliOS-Things-master/components/epoll/
A DREADME.md24 │   ├── poll.h # 系统中无poll功能时poll的数据结构定义,常用与驱动开发
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmoduselect.c349 mp_obj_poll_t *poll = m_new_obj(mp_obj_poll_t); in select_poll() local
350 poll->base.type = &mp_type_poll; in select_poll()
351 mp_map_init(&poll->poll_map, 0); in select_poll()
352 poll->iter_cnt = 0; in select_poll()
353 poll->ret_tuple = MP_OBJ_NULL; in select_poll()
354 return MP_OBJ_FROM_PTR(poll); in select_poll()
A Dmodlwip.c102 void mod_lwip_register_poll(void (*poll)(void *arg), void *poll_arg);
103 void mod_lwip_deregister_poll(void (*poll)(void *arg), void *poll_arg);
1609 void (*poll)(void *arg); member
1615 void mod_lwip_register_poll(void (*poll)(void *arg), void *poll_arg) { in mod_lwip_register_poll()
1616 lwip_poll_list.poll = poll; in mod_lwip_register_poll()
1620 void mod_lwip_deregister_poll(void (*poll)(void *arg), void *poll_arg) { in mod_lwip_deregister_poll()
1621 lwip_poll_list.poll = NULL; in mod_lwip_deregister_poll()
1629 lwip_poll_list.poll = NULL; in mod_lwip_reset()
1635 if (lwip_poll_list.poll != NULL) { in mod_lwip_callback()
1636 lwip_poll_list.poll(lwip_poll_list.poll_arg); in mod_lwip_callback()
/AliOS-Things-master/components/drivers/core/base/include/drivers/char/
A Du_cdev_msg.h76 } poll; member
124 } poll; member
/AliOS-Things-master/hardware/chip/haas1000/release/auto_build_tool/
A Dhaas1000_genbin.py197 status = child.poll()
221 status = child.poll()
251 status = child.poll()
296 status = child.poll()
323 status = child.poll()
425 status = child.poll()
/AliOS-Things-master/hardware/chip/rtl872xd/release/auto_build_tool/
A Dgenbin.py197 status = child.poll()
221 status = child.poll()
251 status = child.poll()
296 status = child.poll()
323 status = child.poll()
428 status = child.poll()
/AliOS-Things-master/components/posix/src/
A Dpoll.c8 int poll(struct pollfd fds[], nfds_t nfds, int timeout) in poll() function
/AliOS-Things-master/components/posix/include/
A Dpoll.h30 int poll(struct pollfd fds[], nfds_t nfds, int timeout);
/AliOS-Things-master/components/SDL2/src/core/unix/
A DSDL_poll.c54 result = poll(&info, 1, timeoutMS); in SDL_IOReady()
/AliOS-Things-master/components/drivers/peripheral/uart/
A DREADME.md68 int poll(struct pollfd *fds, nfds_t nfds, int timeout);
71 兼容POSIX标准的poll/select接口。
/AliOS-Things-master/components/py_engine/engine/tools/
A Dhaasboard.py182 self.poll = select.poll()
183 self.poll.register(self.subp.stdout.fileno())
202 res = self.poll.poll(0)
A Dpyboard.py183 self.poll = select.poll()
184 self.poll.register(self.subp.stdout.fileno())
203 res = self.poll.poll(0)
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/
A Dtcp.h298 tcp_poll_fn poll; member
359 void tcp_poll (struct tcp_pcb *pcb, tcp_poll_fn poll, u8_t interval);
/AliOS-Things-master/components/select/example/
A Dselect_example.c119 ALIOS_CLI_CMD_REGISTER(select_comp_example, select_example, select and poll API base example)
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/
A Dtcp.h350 tcp_poll_fn poll; member
412 void tcp_poll (struct tcp_pcb *pcb, tcp_poll_fn poll, u8_t interval);
/AliOS-Things-master/components/py_engine/tests/
A Drun-multitests.py138 if self.popen and self.popen.poll() is None:
144 self.finished = self.popen.poll() is not None
148 self.finished = self.popen.poll() is not None
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/priv/
A Dtcp_priv.h221 if((pcb)->poll != NULL) \
222 (ret) = (pcb)->poll((pcb)->callback_arg,(pcb)); \
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/priv/
A Dtcp_priv.h221 if((pcb)->poll != NULL) \
222 (ret) = (pcb)->poll((pcb)->callback_arg,(pcb)); \
/AliOS-Things-master/components/ble_host/bt_host/
A Dbuild.mk46 port/aos/poll.c
/AliOS-Things-master/components/drivers/peripheral/adc/src/
A Dadc_dev.c108 .poll = NULL,

Completed in 55 milliseconds

123