Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2016 23:24:16 -0700
From:      Conrad Meyer <cem@freebsd.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Ed Schouten <ed@nuxi.nl>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   Re: svn commit: r307791 - stable/11/usr.sbin/bhyve
Message-ID:  <CAG6CVpUS6e=YSwqOpETDpmjeRpst8gCpbxV3Vh8KnHO99ev3hw@mail.gmail.com>
In-Reply-To: <20161022213017.d6h2wji75r2huqqv@ivaldir.etoilebsd.net>
References:  <201610222049.u9MKnirM010685@repo.freebsd.org> <CABh_MK=z0gcytrHhrH7RFTZ6bciLyoDOdncUeUd8jSCSc1TPjg@mail.gmail.com> <20161022213017.d6h2wji75r2huqqv@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 22, 2016 at 2:30 PM, Baptiste Daroussin <bapt@freebsd.org> wrote:
> On Sat, Oct 22, 2016 at 11:27:43PM +0200, Ed Schouten wrote:
>> 2016-10-22 22:49 GMT+02:00 Baptiste Daroussin <bapt@freebsd.org>:
>> >   Use accept4 with O_NONBLOCK rather than accept + fcntl
>>
>> Keep in mind that changes like these do reduce the portability of the
>> code. accept4(), SOCK_NONBLOCK, etc. are not part of POSIX.
>>
>
> I entirely forgot that!
>
> Thanks for the heads up, I'll be carefull

On the other hand, Linux and even illumos has them.

Best,
Conrad



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpUS6e=YSwqOpETDpmjeRpst8gCpbxV3Vh8KnHO99ev3hw>