]> Cypherpunks repositories - gostls13.git/commit
syscall,os,net: don't use ForkLock in plan9
authorRichard Miller <miller.research@gmail.com>
Fri, 6 May 2016 13:21:52 +0000 (14:21 +0100)
committerDavid du Colombier <0intro@gmail.com>
Fri, 6 May 2016 16:43:07 +0000 (16:43 +0000)
commit258a4c3daf992958f5d7dc5bccf2c5b41e236959
tree6a87503cf0d8aaacb63a8327bb6bd1603fce9c3d
parent2dc680007e35f4cb87527582eb73a653392aa8c3
syscall,os,net: don't use ForkLock in plan9

This is the follow-on to CL 22610: now that it's the child instead of
the parent which lists unwanted fds to close in syscall.StartProcess,
plan9 no longer needs the ForkLock to protect the list from changing.
The readdupdevice function is also now unused and can be removed.

Change-Id: I904c8bbf5dbaa7022b0f1a1de0862cd3064ca8c7
Reviewed-on: https://go-review.googlesource.com/22842
Reviewed-by: David du Colombier <0intro@gmail.com>
Run-TryBot: David du Colombier <0intro@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/fd_plan9.go
src/net/file_plan9.go
src/os/file_plan9.go
src/syscall/exec_plan9.go