Date: Sat, 22 Oct 2016 23:27:43 +0200 From: Ed Schouten <ed@nuxi.nl> To: Baptiste Daroussin <bapt@freebsd.org> Cc: 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: <CABh_MK=z0gcytrHhrH7RFTZ6bciLyoDOdncUeUd8jSCSc1TPjg@mail.gmail.com> In-Reply-To: <201610222049.u9MKnirM010685@repo.freebsd.org> References: <201610222049.u9MKnirM010685@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Baptiste, 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. -- Ed Schouten <ed@nuxi.nl> Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABh_MK=z0gcytrHhrH7RFTZ6bciLyoDOdncUeUd8jSCSc1TPjg>