Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
据我们所知:
套接字函数send()/recv()是线程安全的(基于互斥锁的):
send()/recv()
这些套接字函数使用队列进行非阻塞发送数据
然后,我们可以使用套接字函数send()/recv()作为线程安全队列 MP-MC(多生产者/多消费者)吗?