mirror of
https://github.com/golang/go
synced 2024-11-26 07:38:00 -07:00
internal/poll, net: fix comments regarding accept and sysSocket
The implementation of accept was moved from package net to internal/poll in CL 36799. Change-Id: I6e5964e0ee22e9c84bc444860cdd497817451fec Reviewed-on: https://go-review.googlesource.com/c/go/+/311571 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
dbade774c3
commit
3f8e64878a
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// This file implements sysSocket and accept for platforms that
|
||||
// provide a fast path for setting SetNonblock and CloseOnExec.
|
||||
// This file implements accept for platforms that provide a fast path for
|
||||
// setting SetNonblock and CloseOnExec.
|
||||
|
||||
//go:build dragonfly || freebsd || illumos || linux || netbsd || openbsd
|
||||
// +build dragonfly freebsd illumos linux netbsd openbsd
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// This file implements sysSocket and accept for platforms that do not
|
||||
// provide a fast path for setting SetNonblock and CloseOnExec.
|
||||
// This file implements accept for platforms that do not provide a fast path for
|
||||
// setting SetNonblock and CloseOnExec.
|
||||
|
||||
//go:build aix || darwin || (js && wasm) || (solaris && !illumos)
|
||||
// +build aix darwin js,wasm solaris,!illumos
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// This file implements sysSocket and accept for platforms that
|
||||
// provide a fast path for setting SetNonblock and CloseOnExec.
|
||||
// This file implements sysSocket for platforms that provide a fast path for
|
||||
// setting SetNonblock and CloseOnExec.
|
||||
|
||||
//go:build dragonfly || freebsd || illumos || linux || netbsd || openbsd
|
||||
// +build dragonfly freebsd illumos linux netbsd openbsd
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// This file implements sysSocket and accept for platforms that do not
|
||||
// provide a fast path for setting SetNonblock and CloseOnExec.
|
||||
// This file implements sysSocket for platforms that do not provide a fast path
|
||||
// for setting SetNonblock and CloseOnExec.
|
||||
|
||||
//go:build aix || darwin || (solaris && !illumos)
|
||||
// +build aix darwin solaris,!illumos
|
||||
|
Loading…
Reference in New Issue
Block a user