MECHANISM FOR SHARING A COMMON RESOURCE IN A MULTI-THREADED ENVIRONMENT

    公开(公告)号:US20240362061A1

    公开(公告)日:2024-10-31

    申请号:US18309604

    申请日:2023-04-28

    CPC classification number: G06F9/4831 G06F9/5038

    Abstract: In an example, a method includes adding a first request from a first requestor to a queue for a shared resource, where the first request has a first priority. The method includes providing the first request to the shared resource from the queue. The method includes processing the first request at the shared resource. The method includes adding a second request from a second requestor to the queue for the shared resource, where the second request has a second priority that is higher than the first priority. The method includes preempting the processing of the first request and notifying the first requestor of the preemption, where notifying the first requestor of the preemption includes providing the first requestor with a duration of availability for the shared resource. The method includes providing the second request to the shared resource from the queue and processing the second request at the shared resource.

Patent Agency Ranking