diff options
| author | Mikio Hara <mikioh.mikioh@gmail.com> | 2017-02-14 05:55:41 +0900 |
|---|---|---|
| committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2017-05-19 09:10:16 +0000 |
| commit | 0a09c72c2e9f64a0888f0215db478840d152355f (patch) | |
| tree | 95120bc4e0ee98f875de6c67e1b279ccde485f8b /src/runtime/sys_linux_amd64.s | |
| parent | de5c573baabf925ee7cb868285ed4f14de5f7fe9 (diff) | |
| download | go-0a09c72c2e9f64a0888f0215db478840d152355f.tar.xz | |
internal/poll: add RawControl, RawRead and RawWrite methods to FD
This change adds RawControl, RawRead and RawWrite methods to type FD
to make the runtime-integrated network poller work together with a
user-defined function. The methods are used via the net package from
external packages and type FD is considered as an implementation of
syscall.Conn and syscall.RawConn interfaces.
Updates #19435.
Change-Id: I4ad04b10ffddb2b54fa8d70587440960d73c0a2d
Reviewed-on: https://go-review.googlesource.com/37038
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_amd64.s')
0 files changed, 0 insertions, 0 deletions
