A unix domain socket seems reliable since the OS will clean it up for you
regardless of how your application terminates.

Justin


On Wed, Oct 5, 2016 at 9:30 AM 'Ingo Oeser' via golang-nuts <
golang-nuts@googlegroups.com> wrote:

> Are you looking for something like
> https://godoc.org/github.com/nightlyone/lockfile ?
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to