Darren Stahl
7da180ee92
Merge pull request #71 from darrenstahlmsft/RemoveTimeBeginPeriod
...
Remove workaround to perf issues in go1.6
2018-01-16 14:35:03 -08:00
Darren Stahl
6f4ae360a5
Remove workaround to perf issues in go1.6
...
Starting in go1.9, Golang lowers the timer frequency when not required
reducing CPU usage. This workaround prevents Golang from doing so,
and since the initial issue was fixed, I see no perf regressions.
This does not need to be conditional based on Golang verison, as the issue
being worked around was only in go1.6.
Signed-off-by: Darren Stahl <darst@microsoft.com >
2018-01-09 14:51:38 -08:00
Darren Stahl
3d52dc4a97
Test bug: Fix server connections not closing in TestEchoWithMessaging
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-08-04 10:24:26 -07:00
Darren Stahl
c57b87d6d4
Prevent adding to a sync.WaitGroup that has a waiter
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-08-03 15:26:45 -07:00
Darren Stahl
7ff89941bc
Merge pull request #59 from timou/master
...
Bool is not atomic
2017-07-24 19:50:09 -07:00
Darren Stahl
3e5ddb06eb
Merge pull request #61 from mlaventure/prevent-deadlock
...
Don't increment the wait count if the file is closing
2017-07-24 15:26:06 -07:00
Darren Stahl
f533f7a102
Merge pull request #54 from darrenstahlmsft/NoCopyMemory
...
RtlCopyMemory is not available on Nanoserver use builtin copy instead
2017-05-23 17:36:31 -07:00
Darren Stahl
18d7347919
RtlCopyMemory is not available on Nanoserver use builtin copy instead
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-05-23 17:26:29 -07:00
Darren Stahl
706941bedd
Merge pull request #53 from darrenstahlmsft/wgDone
...
Move f.wg.Done() to Read and Write to avoid leaking handles
2017-05-19 16:10:15 -07:00
Darren Stahl
a64f284add
Move f.wg.Done() to Read and Write to avoid leaking handles
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-05-19 15:42:58 -07:00
Darren Stahl
de045f765f
Remove cgo as a dependency added by #48
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-05-05 16:39:41 -07:00
Darren Stahl
899dbf3ba5
Apply read and write deadlines to pending IO
...
In order to upgrade to go1.8 all IO operations
including previous pending IO must have the deadline
set when SetReadDeadline or SetWriteDeadline is called
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-05-05 14:53:42 -07:00
Darren Stahl
2a0317319a
Adding failing tests for deadlines on pending IO
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-05-05 14:53:42 -07:00
Darren Stahl
e9792bc98c
Added runtime.KeepAlive for the new stricter 1.8 GC
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-05-03 12:47:12 -07:00
Darren Stahl
23ad5a714c
Allocate securityDescriptor in C memory
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-05-03 12:46:54 -07:00
Darren Stahl
24a3e3d3fc
Merge pull request #36 from darrenstahlmsft/Updatezsyscall
...
Regenerate zsyscall with latest mksyscall_windows
2016-11-21 14:01:10 -08:00
Darren Stahl
ff6c542051
Regenerate zsyscall with latest mksyscall_windows
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2016-11-21 12:11:25 -08:00
Darren Stahl
d8f60f2dd1
Merge pull request #33 from cezarsa/master
...
Include build tags to allow go get on non-Windows platforms.
2016-11-21 12:05:53 -08:00
Darren Stahl
4191cdca28
Fixed error in #12
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2016-03-15 15:51:39 -07:00
Darren Stahl
3e4c0f5aa3
Fixes performance regression in GO 1.6
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2016-03-15 15:25:25 -07:00