Comment 5 for bug 1581157

Revision history for this message
Casey Marshall (cmars) wrote :

My fixes so far for this:

https://github.com/natefinch/npipe/pull/17
https://github.com/natefinch/npipe/pull/18

However, I think there's still a problem with Close() not always preempting Accept(), as commented in npipe pull request #18.

I wonder if this use of syscall.INFINITE is too naive (https://github.com/cmars/npipe/blob/7ed58dc21b9e3d962daef664a2f6ed07314544ad/npipe_windows.go#L182) but I know next to nothing about Windows APIs.