On Sunday, 23 October 2016 16:17:29 UTC-4, John Souvestre wrote: > > Take a look at https://github.com/LK4D4/trylock/blob/master/trylock.go . > > > > I believe that it is easier and performs better. >
Yes, this looks like a sound solution if you don't need the re-entrant behavior. -- 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.