# US 2026/0099580 A1 · Asynchronous Counting Gate

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0099580 A1
- Document ID: US20260099580A1
- Status: Published application
- Kind: A1
- Application number: 19/416,521
- Filed: 2025-12-11
- Published: 2026-04-09
- Earliest claimed: 2024-06-12
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Daniel Jean-Michel Fuchs; Daniel Jelinski; Jaikiran Pai
- Web page: https://patentgrep.com/patent/US20260099580A1

## CPC

- G06F 21/44: Program or device authentication
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are disclosed for restricting access to a computing resource in a manner that does not block the performance of other operations in a multi-thread computing environment. A software gate receives a request from a thread for permission to access a computing resource. Responsive to receiving the request, the software gate determines that a dynamic permit limit currently prevents the request from being granted. The software gate returns a data structure indicating that the request is incomplete, adds the request to a queue of pending requests, and releases the thread. Once released, the thread is free to perform other operations while the request is pending. If the request subsequently becomes allowable, the software gate grants the request, removes the request from the queue, and updates the data structure to indicate the request is complete.

## Claims

### Claim 1

A method comprising:
receiving a first request to increase a permit limit that restricts a number of permitted accesses to a computing resource, the first request indicating a first requested value for the permit limit;
responsive to receiving the first request, determining if the permit limit is less than the first requested value;
based, at least in part, on determining that the permit limit is less than the first requested value, updating the permit limit to match the first requested value;
receiving a second request for a permit to access the computing resource;
subsequent to updating the permit limit to match the first requested value, determining if a permit count that measures the number of permitted accesses to the computing resource is less than the permit limit; and
based, at least in part, on determining that the permit count is less than the permit limit, granting the second request,
wherein the method is performed by at least one device comprising a hardware processor.

### Claim 2 (depends on 1)

The method of claim 1:
wherein prior to receiving the first request a particular task that comprises accessing the computing resource is completed;
wherein subsequent to the particular task being completed, a capacity of the computing resource is sufficient for concurrently executing a plurality of additional tasks that involve accessing the computing resource; and
wherein a second number of ongoing accesses to the computing resource after granting the second request is greater than a first number of accesses to the computing resource that were ongoing before the particular task is completed.

### Claim 3 (depends on 2)

The method of claim 2:
wherein the first request is received from a first thread;
wherein the first thread computes the first requested value based, at least in part, on determining that, following the particular task being completed, the capacity of the computing resource is sufficient for concurrently executing the plurality of additional tasks that comprise accessing the computing resource; and
wherein the particular task is completed successfully or unsuccessfully.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving a third request to adjust the permit limit, the second request indicating a second requested value for the permit limit; and
responsive to receiving the third request, determining if the permit limit is currently less than the second requested value; and
based, at least in part, on determining that the permit limit is currently greater than the second requested value, declining the third request.

### Claim 5 (depends on 4)

The method of claim 4:
wherein the first request is received from a first thread that is attempting a first task;
wherein the third request is received from a second thread that is attempting a second task; and
wherein the first thread is attempting the first task while the second thread is concurrently attempting the second task.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
prior to determining that the permit count is less than the permit limit:
responsive to receiving the second request, determining if the permit count meets the permit limit;
based, at least in part, on determining that the permit count meets the permit limit, generating a data structure corresponding to the second request, the data structure indicating that the second request is incomplete,
wherein granting the second request comprises (a) incrementing the permit count and (b) updating the data structure to indicate that the second request is successfully completed.

### Claim 7 (depends on 6)

The method of claim 6:
wherein the second request is received from a first thread that is attempting a first task, the first task comprising accessing the computing resource;
wherein generating the data structure comprises storing, in the data structure, a set of instructions for completing at least part of the first task if the second request is granted;
wherein granting the second request further comprises instructing a second thread to execute the set of instructions;
wherein executing, by the second thread, the set of instructions comprises accessing the computing resource; and
wherein the first thread is not the second thread.

### Claim 8 (depends on 1)

The method of claim 1:
wherein the second request is received from a first thread that is attempting a first task, the first task comprising accessing the computing resource;
wherein the second request is received before the first request; and
wherein the first thread is not blocked from performing other operations during a time period between (a) receiving the second request and (b) granting the second request.

### Claim 9 (depends on 8)

The method of claim 8:
wherein the first request is received by a software gate configured to manage access to the computing resource;
wherein the software gate determines if the permit limit is less than the first requested value;
wherein the software gate updates the permit limit to match the first requested value;
wherein the software gate receives the second request;
wherein the software gate determines if the permit count is less than permit limit;
wherein the software gate grants the second request;
wherein the software gate does not block the first thread from performing the other operations during in the time period between (a) receiving the second request and (b) granting the second request; and
wherein the first thread performs at least part of a second task during the time period.

### Claim 10 (depends on 1)

The method of claim 1:
wherein the computing resource is a network connection;
wherein the network connection is configured to simultaneously support a plurality of data streams; and
wherein the second request is received from a first thread that is attempting a first task, the first task comprising establishing a data stream over the network connection.

### Claim 11

One or more non-transitory computer-readable media comprising instructions that, when executed by one or more hardware processors, cause performance of operations comprising:
receiving a first request to increase a permit limit that restricts a number of permitted accesses to a computing resource, the first request indicating a first requested value for the permit limit;
responsive to receiving the first request, determining if the permit limit is less than the first requested value;
based, at least in part, on determining that the permit limit is less than the first requested value, updating the permit limit to match the first requested value;
receiving a second request for a permit to access the computing resource;
subsequent to updating the permit limit to match the first requested value, determining if a permit count that measures the number of permitted accesses to the computing resource is less than the permit limit; and
based, at least in part, on determining that the permit count is less than the permit limit, granting the second request.

### Claim 12 (depends on 11)

The one or more non-transitory computer-readable media of claim 11:
wherein prior to receiving the first request a particular task that comprises accessing the computing resource is completed;
wherein subsequent to the particular task being completed, a capacity of the computing resource is sufficient for concurrently executing a plurality of additional tasks that involve accessing the computing resource; and
wherein a second number of ongoing accesses to the computing resource after granting the second request is greater than a first number of accesses to the computing resource that were ongoing before the particular task is completed.

### Claim 13 (depends on 12)

The one or more non-transitory computer-readable media of claim 12:
wherein the first request is received from a first thread;
wherein the first thread computes the first requested value based, at least in part, on determining that, following the particular task being completed, the capacity of the computing resource is sufficient for concurrently executing the plurality of additional tasks that comprise accessing the computing resource; and
wherein the particular task is completed successfully or unsuccessfully.

### Claim 14 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, wherein the operations further comprise:
receiving a third request to adjust the permit limit, the second request indicating a second requested value for the permit limit; and
responsive to receiving the third request, determining if the permit limit is currently less than the second requested value; and
based, at least in part, on determining that the permit limit is currently greater than the second requested value, declining the third request.

### Claim 15 (depends on 14)

The one or more non-transitory computer-readable media of claim 14:
wherein the first request is received from a first thread that is attempting a first task;
wherein the third request is received from a second thread that is attempting a second task; and
wherein the first thread is attempting the first task while the second thread is concurrently attempting the second task.

### Claim 16 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, wherein the operations further comprise:
prior to determining that the permit count is less than the permit limit:
responsive to receiving the second request, determining if the permit count meets the permit limit;
based, at least in part, on determining that the permit count meets the permit limit, generating a data structure corresponding to the second request, the data structure indicating that the second request is incomplete,
wherein granting the second request comprises (a) incrementing the permit count and (b) updating the data structure to indicate that the second request is successfully completed.

### Claim 17 (depends on 16)

The one or more non-transitory computer-readable media of claim 16:
wherein the second request is received from a first thread that is attempting a first task, the first task comprising accessing the computing resource;
wherein generating the data structure comprises storing, in the data structure, a set of instructions for completing at least part of the first task if the second request is granted;
wherein granting the second request further comprises instructing a second thread to execute the set of instructions;
wherein executing, by the second thread, the set of instructions comprises accessing the computing resource; and
wherein the first thread is not the second thread.

### Claim 18 (depends on 11)

The one or more non-transitory computer-readable media of claim 11:
wherein the second request is received from a first thread that is attempting a first task, the first task comprising accessing the computing resource;
wherein the second request is received before the first request; and
wherein the first thread is not blocked from performing other operations during a time period between (a) receiving the second request and (b) granting the second request.

### Claim 19 (depends on 18)

The one or more non-transitory computer-readable media of claim 18:
wherein the first request is received by a software gate configured to manage access to the computing resource;
wherein the software gate determines if the permit limit is less than the first requested value;
wherein the software gate updates the permit limit to match the first requested value;
wherein the software gate receives the second request;
wherein the software gate determines if the permit count is less than permit limit;
wherein the software gate grants the second request;
wherein the software gate does not block the first thread from performing the other operations during in the time period between (a) receiving the second request and (b) granting the second request; and
wherein the first thread performs at least part of a second task during the time period.

### Claim 20

A system comprising:
one or more hardware processors;
one or more non-transitory computer-readable media; and
program instructions stored on the one or more non-transitory computer-readable media that, when executed by the one or more hardware processors, cause the system to perform operations comprising:
receiving a first request to increase a permit limit that restricts a number of permitted accesses to a computing resource, the first request indicating a first requested value for the permit limit;
responsive to receiving the first request, determining if the permit limit is less than the first requested value;
based, at least in part, on determining that the permit limit is less than the first requested value, updating the permit limit to match the first requested value;
receiving a second request for a permit to access the computing resource;
subsequent to updating the permit limit to match the first requested value, determining if a permit count that measures the number of permitted accesses to the computing resource is less than the permit limit; and
based, at least in part, on determining that the permit count is less than the permit limit, granting the second request.
