Method, device, and computer program product for data synchronization
AssigneeDell Products L.P.
InventorsRan LIU, Tao CHEN, Wei LU
Life of this patent
Estimating the term…
Loading patent…
AssigneeDell Products L.P.
InventorsRan LIU, Tao CHEN, Wei LU
Estimating the term…
A method includes setting, in response to a state variable being in a first state, a timeout period for an IO thread to acquire a read lock, the state variable being used for indicating an execution state of a control flow associated with data synchronization, and the first state indicating that the control flow is executing the data synchronization. The method further includes setting the state variable to a second state in response to not acquiring the read lock within the timeout period. In addition, the method further includes executing the data synchronization by utilizing the IO thread. Therefore, according to the embodiments of the present disclosure, by managing a state variable, an IO thread attempts to acquire a lock only when a control flow performs data synchronization, thereby reducing the lock usage frequency and synchronization overhead.
A method for data synchronization, comprising:
An electronic device, comprising:
A computer program product, the computer program product being tangibly stored on a non-volatile computer-readable medium and comprising machine-executable instructions, wherein the machine-executable instructions, when executed by a machine, cause the machine to perform following actions:
Dependencies are inferred from the claim text.