Hector Chu
fb9fc886ff
windows: syscall: Make ForkExec acquire the ForkLock
...
so that spawned processes avoid inheriting pipes.
Implement CloseOnExec.
Make file and pipe handles inheritable.
R=rsc, brainman, vincent.vanackere
CC=golang-dev
https://golang.org/cl/4126047
2011-02-03 12:50:41 +11:00
Hector Chu
62afa225af
windows: multiple improvements and cleanups
...
The callback mechanism has been made more flexible.
Eliminated one round of argument copying in Syscall.
Faster Get/SetLastError implemented.
Added gettime for gc perf profiling.
R=rsc, brainman, mattn, rog
CC=golang-dev
https://golang.org/cl/4058046
2011-02-01 11:49:24 -05:00
Wei Guangjing
ff25900bb6
net: implement windows timeout
...
R=brainman, rsc
CC=golang-dev
https://golang.org/cl/1731047
2011-01-19 14:49:25 -05:00
Alex Brainman
3a052b5f54
net: use closesocket api instead of CloseHandle on Windows
...
thanks to piotrnar for the original CL.
Fixes #1371 .
R=rsc
CC=golang-dev
https://golang.org/cl/3834042
2011-01-12 15:55:17 +11:00
Alex Brainman
c83451971e
runtime: move windows goargs implementation from runtime and into os package
...
R=rsc
CC=golang-dev
https://golang.org/cl/3702041
2010-12-16 12:18:18 +11:00
Wei Guangjing
95c341fc78
net: add ReadFrom and WriteTo windows version.
...
Fixes #1275 .
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/3136042
2010-11-22 11:01:30 -05:00
Alex Brainman
7812b79627
syscall: fix Stat(path) where path is directory with trailing '/' on windows
...
Fixes #1220 .
R=rsc, r
CC=golang-dev
https://golang.org/cl/2728043
2010-10-30 23:06:49 +11:00
Wei Guangjing
d3a2118b8a
syscall: implement WaitStatus and Wait4() for windows
...
R=brainman, rsc, kardia, Joe Poirier
CC=golang-dev
https://golang.org/cl/1910041
2010-10-12 15:42:07 +11:00
Alex Brainman
c10865ce53
syscall: implement windows version of Utimes()
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/2215044
2010-09-23 12:36:52 +10:00
Alex Brainman
79c62aaa99
os: implement env using native windows api.
...
Fixes #864 .
R=rsc
CC=golang-dev
https://golang.org/cl/1975043
2010-08-13 14:29:23 +10:00
Alex Brainman
a79a9098da
syscall: make sure go error numbers do not clash with windows system errors
...
R=rsc
CC=golang-dev
https://golang.org/cl/1857049
2010-08-03 12:04:41 +10:00
Wei Guangjing
adc13b1e48
net: implement windows version of LookupHost/Port/SRV
...
R=brainman, rsc
CC=golang-dev
https://golang.org/cl/1748042
2010-07-29 14:58:28 +10:00
Wei Guangjing
ad4f95d365
syscall: add windows version of Pipe()
...
R=brainman, rsc
CC=golang-dev
https://golang.org/cl/1715046
2010-07-26 15:55:01 +10:00
Alex Brainman
eee095399f
syscall: improve windows errno handling
...
R=rsc, Joe Poirier, PeterGo
CC=golang-dev
https://golang.org/cl/1872045
2010-07-26 10:24:48 +10:00
Daniel Theophanes
7f9e247489
syscall: add ForkExec, Syscall12 on Windows
...
R=brainman, rsc
CC=golang-dev
https://golang.org/cl/1578041
2010-07-26 09:43:35 +10:00
Peter Mundy
ccd28e8eb6
crypto/rand for Windows
...
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/1773041
2010-07-12 16:37:53 -07:00
Peter Mundy
0e25775518
io/ioutil.TempFile for Windows
...
Fixes #834 .
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/1686047
2010-06-30 13:52:34 -07:00
Alex Brainman
9d5f80b0c6
time: implement timezones for windows
...
Fixes #761 .
R=PeterGo, adg, rsc
CC=golang-dev
https://golang.org/cl/1121042
2010-06-29 22:29:09 -07:00
Alex Brainman
bb9261bf3b
net: initial attempt to implement windows version
...
R=rsc, Mateusz Czaplinski
CC=golang-dev
https://golang.org/cl/1600041
2010-06-29 20:23:39 -07:00
Alex Brainman
901976cfc3
implement os.FileInfo.*time_ns for windows
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/1145044
2010-05-31 13:43:40 +02:00
Alex Brainman
f81d471940
rename GOOS=mingw to GOOS=windows
...
R=rsc, Joe Poirier
CC=golang-dev
https://golang.org/cl/1015043
2010-04-29 23:45:14 -07:00