natefinch / npipe

A Windows named pipe implementation written in pure Go.
MIT License
297 stars 73 forks source link

WIP: Handle mutex patch from gsamfira. #20

Closed cmars closed 8 years ago

cmars commented 8 years ago

Ran cmd/jujud/agent tests 300 times with this patch: https://gist.github.com/anonymous/11d575817b068f20c994816ed332b5c4

cmars commented 8 years ago

Without this patch: https://gist.github.com/anonymous/37c739b824809093a97e84bd3d1d3fb3

natefinch commented 8 years ago

This is not really landable as-is... even the basic premise gives me the willies... a package-global lock? That's just asking for trouble. I'll try to nail down a better fix for this, even if it's just a timeout and/or a "don't do that".

natefinch commented 8 years ago

This is fixed by #21