[go-nuts] Re: weak references

2020-01-16 Thread kirr
For the reference: https://godoc.org/lab.nexedi.com/kirr/neo/go/zodb/internal/weak and rationale: https://lab.nexedi.com/kirr/neo/blob/cb94be39/go/zodb/connection.go#L73-121 Kirill вторник, 5 марта 2013 г., 3:49:02 UTC+4 пользователь Dustin написал: > > > I've been looking a

Re: [go-nuts] Re: Why there is a so great performance penalty when the usage combines LockOSThread and channel?

2017-09-10 Thread kirr
вторник, 22 ноября 2016 г., 23:47:51 UTC+3 пользователь Ian Lance Taylor написал: > > On Tue, Nov 22, 2016 at 12:37 PM, Dave Cheney > wrote: > > Thinking about this overnight I think this benchmark > > > > https://play.golang.org/p/5d4MUKqPYd > > > > Shows the issue you are having. On my mac

Re: [go-nuts] syscall: dup2 blocks contrary to runtime's expectations for fuse file systems

2017-03-21 Thread kirr
Hello up there. I've found this thread via https://github.com/golang/go/issues/19563#issuecomment-287920797 so let me chime in and comment a bit: 1. The problem of sys_dup2 blocking is not FUSE-only. By definition dup2 may end up closing newfd: If the file descriptor newfd was previously o