[PATCH] Cygwin: flock: Remove the unnecessary fdtab lock
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Jan 9 10:45:26 GMT 2026
On Jan 8 21:46, Takashi Yano wrote:
> On Thu, 8 Jan 2026 21:34:40 +0900
> Takashi Yano wrote:
> > There were two fdtab locks: one is in inode_t::del_my_locks(), and
I would write that as "There are two more fdtab enumerations using
fdtab locking, ..."
> > The merely counts the file
They merely count ...
> > descriptors affected by the corresponding lock, so locking fdtab seems
> > unnecessary. The latter only only during execve(), when no other
> ~~~~~~~~~
> runs only
Patch is ok.
Thanks,
Corinna
More information about the Cygwin-patches
mailing list