On 25/09/2015 03:18, Guillermo wrote:
> Reading the documentation, I couldn't tell the difference between
> these and the -wu and -wU options. Looking at the code, -r seems to
> mean "wait for a D event, and then for an u event", and -R seems to
> mean "wait for a D event, and then for an U event". Is that right?
That's right. I added a line in the doc to make it a bit clearer.
> Also, s6-svwait used to have the same "waiting mode" options as
> s6-svlisten1 and s6-svlisten, but didn't get -r and -R this time. Is
> this intentional?
It's not needed for s6-svwait, because you can simply wait for D
then for u or U. If you're using s6-svwait, you don't really care
about a possible race, so sequential waiting is sufficient.
But I guess it doesn't cost much to add support for -wr/-wR, if
you want it.
--
Laurent
Received on Fri Sep 25 2015 - 01:35:00 UTC