Re: [Openvpn-devel] Semaphore locking error on windows

2016-06-13 Thread Selva Nair
On Mon, Jun 13, 2016 at 4:41 PM, Gert Doering wrote: > Hi, > > On Mon, Jun 13, 2016 at 04:22:39PM -0400, Selva Nair wrote: > > As Windows clears semaphores when all open handles to it are gone, this > is > > a problem only when there is one or more other openvpn processes running. > > > > Any sug

Re: [Openvpn-devel] Semaphore locking error on windows

2016-06-13 Thread Gert Doering
Hi, On Mon, Jun 13, 2016 at 04:22:39PM -0400, Selva Nair wrote: > As Windows clears semaphores when all open handles to it are gone, this is > a problem only when there is one or more other openvpn processes running. > > Any suggestions on how to fix this? Would "relinquish the semaphore when th

[Openvpn-devel] Semaphore locking error on windows

2016-06-13 Thread Selva Nair
Hi, Sometimes the semaphore used to avoid parallel net commands fails to lock on windows. This happens only when a previous run was terminated (say by ctrl-C) at a time when the register-dns commands are running -- ie. after "initialization completed" but before the "net commands" are done. Could