diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2013-08-05 15:43:45 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2013-08-05 15:43:45 -0700 |
| commit | 37feacf623dc95a3c6332640689f53a5baa85dbc (patch) | |
| tree | d0135315de6e544a17c872241539804da2470086 /src/pkg/debug | |
| parent | f7910128e790a4c86c88c4b5f7640cf7d71ac6e6 (diff) | |
| download | go-37feacf623dc95a3c6332640689f53a5baa85dbc.tar.xz | |
net: use F_DUPFD_CLOEXEC when duping fds
This means that in the common case (modern kernel), we only
make 1 system call to dup instead of two, and we also avoid
grabbing the syscall.ForkLock.
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/12476043
Diffstat (limited to 'src/pkg/debug')
0 files changed, 0 insertions, 0 deletions
