MULTI-THREAD SYNCHRONIZATION PRIMITIVE

Daniel A. Steffen, Pierre Habouzit,Daniel A. Chimene,Jeremy C. Andrus, James M. Magee, Puja Gupta

user-607cde9d4c775e0497f57189(2018)

引用 0|浏览13
暂无评分
摘要
Techniques are disclosed relating to efficiently handling execution of multiple threads to perform various actions. In some embodiments, an application instantiates a queue and a synchronization primitive. The queue maintains a set of work items to be operated on by a thread pool maintained by a kernel. The synchronization primitive controls access to the queue by a plurality of threads including threads of the thread pool. In such an embodiment, a first thread of the application enqueues a work item in the queue and issues a system call to the kernel to request that the kernel dispatch a thread of the thread pool to operate on the first work item. In various embodiments, the dispatched thread is executable to acquire the synchronization primitive, dequeue the work item, and operate on it.
更多
查看译文
关键词
Thread pool,Thread (computing),Synchronization (computer science),Queue,Double-ended queue,System call,Executable,Computer network,Computer science
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要