在epoll里,是否可以将connectiondata挂在event_data.ptr上呢?
pony5551 opened this issue · 1 comments
pony5551 commented
winddriver commented
应该不行,因为ptr和fd是共享地址空间的
发自我的iPhone
在 2022年8月22日,21:35,pony5551 ***@***.***> 写道:
[QQ图片20220822213139]<https://user-images.githubusercontent.com/36391163/185933306-f2fa1be3-34d5-4d17-a009-749fa84743a5.png>
这样是不是就不用遍历了?
[2]<https://user-images.githubusercontent.com/36391163/185933929-05ea0222-5f88-4ed8-985d-22f29f745540.png>
—
Reply to this email directly, view it on GitHub<#109>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAYSQXPSZU3HKB7NDUFJNDTV2N6ZVANCNFSM57HWO5QA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>

