On Wed, Jul 10, 2019 at 6:30 PM <jake6...@gmail.com> wrote: > > The best thing to do is to not use unmanaged resources. >
Would be the Erlang solution. You cannot change the owner of an open file, and if the process owning it terminates, the file is closed. You can change ownership of a TCP socket, and then messages from the socket in the mailbox which has not yet been received are also transferred to the new owner in the same order, preserving linearizability guarantees. -- J. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAGrdgiXpPpr5%3Dwb8N7s5bSZZjg49iph%3DsozM5P1g%3DF-5-1prqg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.