]> Cypherpunks repositories - gostls13.git/commit
internal/poll: use ignoringEINTR in Darwin Fsync
authorIan Lance Taylor <iant@golang.org>
Thu, 1 Oct 2020 00:37:24 +0000 (17:37 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 1 Oct 2020 02:42:58 +0000 (02:42 +0000)
commitb8ec1d5f49ec5f9350f2b0bd99560e4aadfcb70c
treef74a525edf5d0cc58e0111cbb80c019bd4104a35
parent846dce9d05f19a1f53465e62a304dea21b99f910
internal/poll: use ignoringEINTR in Darwin Fsync

Also add comment explaining why we don't use ignoringEINTR around
call to close.

Fixes #41115

Change-Id: Ia7bbe01eaf26003f70d184b7e82803efef2b2c18
Reviewed-on: https://go-review.googlesource.com/c/go/+/258542
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/internal/poll/fd_fsync_darwin.go
src/internal/poll/fd_unix.go