bug-glibc
[Top][All Lists]
Advanced

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

Re: writev is "unfair".


From: Ulrich Drepper
Subject: Re: writev is "unfair".
Date: 27 Nov 2000 09:57:58 -0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef)

Sebastian Wilhelmi <address@hidden> writes:

> I just wanted to know, if such a change would at least have the chance to be
> included, or if it isn't possible because of e.g. diagnosis semantics, that
> require to call write inside writev exactly once.

None of this.  The caller is responsible.  The writev() on all
architectures guarantees only a given amount of records to written at
one time.  Many OSes use 16, Linux I think has 1024.  Use must not
exceed this limit.  If you do we try to recover but it sometimes
fails.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



reply via email to

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