To support asynchronous pollers which may hold references on underlying sockets, let the poller close the socket after it has released its references. This prevents cases of file descriptor re-use while an underlying socket is still open. Add reset_socket() to be used in place of close_socket() which does the same thing except the actual closing of the socket. Add poller_del_item_callback() for cases where more action than just closing the file descriptor is needed. Change-Id: Iefda1487ecb89263729120ecb964436dd79b2a0e |
2 years ago | |
|---|---|---|
| .. | ||
| .gitignore | MT#56374 add perf-tester | 2 years ago |
| .ycm_extra_conf.py | MT#56374 add perf-tester | 2 years ago |
| Makefile | MT#54294 update to codec-chain framework | 2 years ago |
| log.c | MT#56374 perf-tester fixes | 2 years ago |
| log.h | MT#56374 add perf-tester | 2 years ago |
| log_funcs.h | MT#56374 add perf-tester | 2 years ago |
| loglevels.h | MT#56374 add perf-tester | 2 years ago |
| main.c | MT#55283 delegate closing sockets to poller | 2 years ago |