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

前端 未结 0 1285
天命终不由人
天命终不由人 2021-02-16 00:28

For example:

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

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


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