Enhanced techniques for avoiding double closures of file descriptors
AssigneeSandpiper CDN, LLC
InventorWilliam CROWDER
Life of this patent
Estimating the term…
Loading patent…
AssigneeSandpiper CDN, LLC
InventorWilliam CROWDER
Estimating the term…
This disclosure describes systems, methods, and devices related to preventing multiple closures of a file descriptor. A method may include identifying a close( ) system call requesting closure of a file descriptor that is opened to a first file; generating, based on the close( ) system call, prior to closing the file descriptor, a dup2( ) system call for the file descriptor; releasing, based on the dup2( ) system call, the first file from the file descriptor; opening, based on the dup2( ) system call, the file descriptor to a second file; determining that a threshold delay from receipt of the close( ) system call has expired; and closing, based on the expiration of the threshold delay, the file descriptor.
A method of preventing multiple closures of a file descriptor, the method comprising:
A device for preventing multiple closures of a file descriptor, the device comprising memory coupled to at least one processor, wherein the at least one processor is configured to:
A system for preventing multiple closures of a file descriptor, the system comprising:
Dependencies are inferred from the claim text.