Microsoft Corporation
ESTABLISHMENT OF QUEUE BETWEEN THREADS IN USER SPACE

Last updated:

Abstract:

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 lockless queue mechanism according to embodiments of the present disclosure can improve the performance of the operating system significantly.

Status:
Application
Type:

Utility

Filling date:

1 Nov 2019

Issue date:

23 Dec 2021