Establishment of queue between threads in user space
摘要:
In embodiments of the present disclosure, there is provided a solution for establishing queues between threads in a user space. After creating a first thread on a first application and creating a second thread and a third thread on a second application, a socket connection between the first application and the second application is established in the user space of the operating system. Then, a first queue is established between the first thread and the second thread, while a second different queue is established between the first thread and the third thread. Embodiments of the present disclosure can avoid lock-based queue sharing by setting a separate queue for each pair of threads. Thus, the luckless queue mechanism according to embodiments of the present disclosure can improve the performance of the operating system significantly.
公开/授权文献
信息查询
0/0