Hi

>
>>
>> Under what circumstances are we supposed to do the waiting again? If
>> we get a signal, we bail out.
>> If the wait times out, we bail out. If wait fails, we do Sleep
>> (although at this point we probably have a bigger issue).
>>
>
> Probably never -- there is a WAIT_ABANDONED which may not apply here. But,
> sometimes windows functions do exit with error codes not listed in the
> docs. As the loop is slowed down by a Sleep(1000), this can't hurt, can it?
>

I see your point now :) I had a different logic earlier where it always
slept for a second before trying to wait again, but not so any longer.  v3
is coming!

Selva

>
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to