From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: dmantipov@yandex.ru, emacs-devel@gnu.org
Subject: Re: Using pread
Date: Sat, 02 Feb 2013 10:09:21 +0200 [thread overview]
Message-ID: <83r4kzb0i6.fsf@gnu.org> (raw)
In-Reply-To: <510C7037.7080503@cs.ucla.edu>
> Date: Fri, 01 Feb 2013 17:47:35 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> Cc: Emacs development discussions <emacs-devel@gnu.org>
>
> On 02/01/2013 12:34 AM, Dmitry Antipov wrote:
> > IMHO it's worth using at least for some bits in fileio.c.
>
> Is using pread significantly faster or safer, when pread is native?
AFAIU, its only advantage is when several threads might share a file
descriptor. But if we consider this possibility for some future
extension, such as Tom's concurrency branch, then perhaps we should
modify emacs_read to use pread as well.
> If this is merely a style issue, it's probably not worth the bother.
I agree.
prev parent reply other threads:[~2013-02-02 8:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 8:05 Using pread Dmitry Antipov
2013-02-01 8:18 ` Paul Eggert
2013-02-01 8:34 ` Dmitry Antipov
2013-02-01 10:33 ` Eli Zaretskii
2013-02-02 1:47 ` Paul Eggert
2013-02-02 8:09 ` Eli Zaretskii [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83r4kzb0i6.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=dmantipov@yandex.ru \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).