[Top][All Lists]

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

Re: Using pread

From: Eli Zaretskii
Subject: Re: Using pread
Date: Sat, 02 Feb 2013 10:09:21 +0200

> Date: Fri, 01 Feb 2013 17:47:35 -0800
> From: Paul Eggert <address@hidden>
> Cc: Emacs development discussions <address@hidden>
> 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.

reply via email to

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