From: Nicolas George <nicolas.george@ens.fr>
To: Caml mailing list <caml-list@inria.fr>
Subject: Re: [Caml-list] closing file descriptors and channels
Date: Thu, 20 Nov 2003 18:14:03 +0100 [thread overview]
Message-ID: <20031120171403.GA3281@clipper.ens.fr> (raw)
In-Reply-To: <20031120173538.B14255@pauillac.inria.fr>
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
Le decadi 30 brumaire, an CCXII, Xavier Leroy a écrit :
> The other possibility is to use close_out_noerr and close_in_noerr
> that will just ignore the errors arising from the closing of the
> underlying file descriptor. But this can be dangerous:
This can be even more dangerous if another file has been opened between
the two closes (which can be invisible in threaded programs) and has got
the file descriptor that has just been closed.
I am preparing a RFC for this list about a complete rewrite of the I/O
subsystem, and this is definitively a problem that must be addressed.
[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]
next prev parent reply other threads:[~2003-11-20 17:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-20 16:14 Christian Schaller
2003-11-20 16:35 ` Xavier Leroy
2003-11-20 17:01 ` Tim Freeman
2003-11-20 17:14 ` Nicolas George [this message]
2003-11-20 16:55 Christian Schaller
2003-11-20 16:54 ` Tim Freeman
2003-11-21 16:28 ` skaller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031120171403.GA3281@clipper.ens.fr \
--to=nicolas.george@ens.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox