Invention Grant
- Patent Title: Producer-consumer communication using multi-work consumers
-
Application No.: US16415624Application Date: 2019-05-17
-
Publication No.: US11086691B2Publication Date: 2021-08-10
- Inventor: Muhammed Sharique
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Fountainhead Law Group P.C.
- Priority: IN201911013534 20190404
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/52 ; G06F9/48

Abstract:
A producer-consumer technique includes creating a pool of consumer threads. Producer threads can enqueue work items on a work queue. Consumer threads from the consumer pool are activated to process work items on the work queue. Only one consumer thread at time is activated from the consumer pool, the remaining consumer threads in the pool waiting for an activation event. When signaled by a producer thread, the activated consumer thread pops all the work items from the work queue for processing. The activate consumer thread then signals another consumer thread in the consumer pool by generating an activation event. When the consumer thread has processed its work items, it places itself in the consumer pool by blocking to wait for an activation event.
Public/Granted literature
- US20200319941A1 Producer-Consumer Communication Using Multi-Work Consumers Public/Granted day:2020-10-08
Information query