Hello,
I've just discovered that 'open' returns a new descriptor (new_fd)
when you open a file several times and that
fcntl( new_fd, F_SETLK ... and fcntl( new_fd, F_GETLK ...
won't see if the file was already locked :
You can get several exclusive locks by opening a file
several times and
david wrote:
I've just discovered that 'open' returns a new descriptor (new_fd)
when you open a file several times and that
fcntl( new_fd, F_SETLK ... and fcntl( new_fd, F_GETLK ...
won't see if the file was already locked :
You can get several exclusive locks by opening a file
several