[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Handle possible EINTR in file-lock, file-l

From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Handle possible EINTR in file-lock, file-lock/blocking and, file-unlock.
Date: Sun, 5 Feb 2017 21:07:01 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Feb 01, 2017 at 07:50:30PM +0100, Jörg F. Wittenberger wrote:
> Hi all,
> I just found a couple of procedures in the posix unit, which did not
> handle EINTR well.

The patch looks good to me.  I must say it's not completely clear from
the manual what the intended semantics of the nonblocking file-lock
procedure are.  I guess if another process has the file locked, we
simply error out with "cannot lock file"?

If that behavious is inteneded, please apply the signed-off version


Attachment: 0001-Handle-possible-EINTR-in-file-lock-file-lock-blockin.chicken-5.patch
Description: Text Data

Attachment: 0001-Handle-possible-EINTR-in-file-lock-file-lock-blockin.master.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]