Re: [ovs-dev] [PATCH V9] windows: Added lockf function and lock PID file

2016-07-25 Thread Guru Shetty
On 25 July 2016 at 05:50, Paul Boca wrote: > If the PID file isn't locked then appctl.py detects it as stale and > bails out without doing anything. Because of this lots of Python tests > fail. > Also this protects the PID file from being overwritten. > > I used only shared lock, in order to be c

[ovs-dev] [PATCH V9] windows: Added lockf function and lock PID file

2016-07-25 Thread Paul Boca
If the PID file isn't locked then appctl.py detects it as stale and bails out without doing anything. Because of this lots of Python tests fail. Also this protects the PID file from being overwritten. I used only shared lock, in order to be compatible with Python tests, which try to acquire the lo