We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 652c10b commit 0983034Copy full SHA for 0983034
src/syscall/pwd_plan9.go
@@ -29,8 +29,6 @@ var (
29
// rescheduling on a different thread (potentially with a different
30
// working directory) before the syscall is executed.
31
func Fixwd() {
32
- runtime.LockOSThread()
33
- defer runtime.UnlockOSThread()
34
wdmu.Lock()
35
defer wdmu.Unlock()
36
fixwdLocked()
@@ -74,8 +72,6 @@ func getwd() (wd string, err error) {
74
72
}
75
73
76
func Getwd() (wd string, err error) {
77
78
79
80
81
0 commit comments