# US 2022/0291971 A1 · Synchronization object having a stamp for flows in a storage system

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

- Number: US 2022/0291971 A1
- Document ID: US20220291971A1
- Status: Published application
- Kind: A1
- Application number: 17/197,163
- Filed: 2021-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Vladimir Shveidel; Lior Kamran
- Web page: https://patentgrep.com/patent/US20220291971A1

## CPC

- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one aspect, an example methodology implementing the disclosed techniques includes, responsive to a determination, by a first thread attempting to start an operation, that a second thread has started the operation, obtaining a value of a stamp included in a synchronization object related to the operation. The method also includes determining, by the first thread, whether the value of the stamp obtained is the same as a current value of the stamp and, responsive to a determination that the obtained value of the stamp is not the same as the current value of the stamp, continuing execution of the first thread. The method may further include, responsive to a determination that the obtained value of the stamp is the same as the current value of the stamp, suspending execution of the first thread.

## Claims

### Claim 1

A computer implemented method for synchronizing on a notification event, the method comprising:
responsive to a determination, by a first thread attempting to start an operation, that a second thread has started the operation, obtaining a value of a stamp included in a synchronization object related to the operation;
determining, by the first thread, whether the value of the stamp obtained is the same as a current value of the stamp; and
responsive to a determination, by the first thread, that the obtained value of the stamp is not the same as the current value of the stamp, continuing execution of the first thread.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, responsive to a determination, by the first thread, that the obtained value of the stamp is the same as the current value of the stamp, suspending execution of the first thread.

### Claim 3 (depends on 2)

The method of claim 2, wherein suspending execution of the first thread comprises waiting in a thread queue associated with the synchronization object related to the operation.

### Claim 4 (depends on 3)

The method of claim 3, further comprising resuming execution of the first thread upon being released from the thread queue associated with the synchronization object related to the operation.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first thread is released from the thread queue by the second thread upon the second thread completing the operation.

### Claim 6 (depends on 1)

The method of claim 1, wherein the value of the stamp is incremented by the second thread upon completing the operation.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first thread and the second thread are threads in a storage system.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first thread is associated with a forced flow and the second thread is associated with a regular flow.

### Claim 9

A system comprising:
one or more non-transitory machine-readable mediums configured to store instructions; and
one or more processors configured to execute the instructions stored on the one or more non-transitory machine-readable mediums, wherein execution of the instructions causes the one or more processors to,
responsive to a determination, by a first thread attempting to start an operation, that a second thread has started the operation, obtain a value of a stamp included in a synchronization object related to the operation;
determine, by the first thread, whether the value of the stamp obtained is the same as a current value of the stamp; and
responsive to a determination, by the first thread, that the obtained value of the stamp is not the same as the current value of the stamp, continue execution of the first thread.

### Claim 10 (depends on 9)

The system of claim 9, wherein execution of the instructions further causes the one or more processors to, responsive to a determination, by the first thread, that the obtained value of the stamp is the same as the current value of the stamp, suspend execution of the first thread.

### Claim 11 (depends on 10)

The system of claim 10, wherein to suspend execution of the first thread comprises to wait in a thread queue associated with the synchronization object related to the operation.

### Claim 12 (depends on 11)

The system of claim 11, wherein execution of the instructions further causes the one or more processors to resume execution of the first thread upon being released from the thread queue associated with the synchronization object related to the operation.

### Claim 13 (depends on 12)

The system of claim 12, wherein the first thread is released from the thread queue by the second thread upon completion of the operation.

### Claim 14 (depends on 9)

The system of claim 9, wherein the value of the stamp is incremented by the second thread upon completion of the operation.

### Claim 15

A computer program product including one or more non-transitory machine-readable mediums encoding instructions that when executed by one or more processors cause a process to be carried out for synchronization on a notification event, the process comprising:
responsive to a determination, by a first thread attempting to start an operation, that a second thread has started the operation, obtaining a value of a stamp included in a synchronization object related to the operation;
determining, by the first thread, whether the value of the stamp obtained is the same as a current value of the stamp; and
responsive to a determination, by the first thread, that the obtained value of the stamp is not the same as the current value of the stamp, continuing execution of the first thread.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the process further comprises, responsive to a determination, by the first thread, that the obtained value of the stamp is the same as the current value of the stamp, suspending execution of the first thread.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein suspending execution of the first thread comprises waiting in a thread queue associated with the synchronization object related to the operation.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the process further comprises resuming execution of the first thread upon being released from the thread queue associated with the synchronization object related to the operation.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the first thread is released from the thread queue by the second thread upon the second thread completing the operation.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the value of the stamp is incremented by the second thread upon completing the operation.
