barebox-state: block while waiting for file lock
In multi-processes environment, it can happen that barebox-state is
called concurrently. Since barebox-state usually only runs for at most a
few seconds, it is probably okay for the second process to block while
wait for the file lock, so the calling entity (user or script) doesn't
have to do error handling itself.

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
1 parent 5ef3f9b commit 2f200bbda9d630294bcd0d2ad3b5b8c3176b5ad4
@Roland Hieber Roland Hieber authored on 31 May 2018
Showing 1 changed file
View
src/barebox-state.c