refactoring locking, make it per-interface to avoid deadlocks
This commit is contained in:
parent
91115edeee
commit
0ca8e42ee6
2 changed files with 72 additions and 63 deletions
|
@ -22,8 +22,10 @@
|
|||
struct lif_execute_opts {
|
||||
bool verbose;
|
||||
bool mock;
|
||||
bool no_lock;
|
||||
const char *executor_path;
|
||||
const char *interfaces_file;
|
||||
const char *state_file;
|
||||
};
|
||||
|
||||
extern bool lif_execute_fmt(const struct lif_execute_opts *opts, char *const envp[], const char *fmt, ...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue