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>
2 files changed
tree: a5790561fc580da7859a7f776eac98a3203a7115
  1. archive/
  2. backuptar/
  3. vhd/
  4. wim/
  5. .gitignore
  6. backup.go
  7. backup_test.go
  8. ea.go
  9. ea_test.go
  10. file.go
  11. fileinfo.go
  12. LICENSE
  13. pipe.go
  14. pipe_test.go
  15. privilege.go
  16. privileges_test.go
  17. README.md
  18. reparse.go
  19. sd.go
  20. sd_test.go
  21. syscall.go
  22. zsyscall_windows.go
README.md

go-winio

This repository contains utilities for efficiently performing Win32 IO operations in Go. Currently, this is focused on accessing named pipes and other file handles, and for using named pipes as a net transport.

This code relies on IO completion ports to avoid blocking IO on system threads, allowing Go to reuse the thread to schedule another goroutine. This limits support to Windows Vista and newer operating systems. This is similar to the implementation of network sockets in Go's net package.

Please see the LICENSE file for licensing information.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Thanks to natefinch for the inspiration for this library. See https://github.com/natefinch/npipe for another named pipe implementation.