Commit Graph
11 Commits
Author SHA1 Message Date
John Starks 8f9387ea7e Merge pull request #13 from Microsoft/TimerResolutionFix
Fixed error in #12
2016-03-15 17:33:20 -07:00
Darren Stahl 4191cdca28 Fixed error in #12
Signed-off-by: Darren Stahl <darst@microsoft.com>
2016-03-15 15:51:39 -07:00
John Starks dc33d951c5 Merge pull request #12 from Microsoft/TimerResolution
Fixes performance regression in GO 1.6
2016-03-15 15:38:50 -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
John Starks 36f4e701c4 Add support for CloseWrite() to pipes
This change adds support for message mode pipes and uses them to support
CloseWrite() to better match TCP and UNIX sockets. Message mode pipes
support writing and (optionally) reading data in message-sized chunks.
This is useful for us because when in this mode a zero-sized message can
be read. We use this zero-sized message to signal that no more writes will
arrive. This is not standard practice in Windows, but it is a reasonable
compromise.
2016-03-15 11:58:02 -07:00
John Starks cd7216c8af Fix RunWithPrivilege when the process token already has the privilege 2016-03-05 18:49:41 -08:00
John Starks f011a81ddc Add interface to BackupRead/BackupWrite 2016-02-18 20:40:32 -08:00
John Starks 6a0656b357 Add functions for running with privileges 2016-02-18 20:36:50 -08:00
John Starks 1ac2c4761f Add functions to get/set FILE_BASIC_INFO 2016-02-18 20:33:57 -08:00
John Starks 89bdf52a5b Add routine for looking up account names
Signed-off-by: John Starks <jostarks@microsoft.com>
2016-01-31 16:08:10 -08:00
John Starks f001f808a9 Add file and pipe Windows wrappers
This includes Reader, Writer, and Closer interfaces on top of
Windows file handles in a way that does not block the system thread
while the IO is outstanding.

This also includes net.Listener and net.Conn for named pipes.
2016-01-30 18:11:47 -08:00