Do thread safeties of `epoll_wait` and `epoll_clt` mean synchronization?

前端 未结 0 612
我寻月下人不归
我寻月下人不归 2021-02-16 00:41

For example:

n = 0
buffer = NULL
fd=a_socket_for_example()
epfd=...
epoll_clt(epfd,,fd,)

spawn two threads
----------------------         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题