]>
git.proxmox.com Git - mirror_lxc.git/blob - src/lxc/sync.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
11 LXC_SYNC_POST_CONFIGURE
,
13 LXC_SYNC_CGROUP_UNSHARE
,
14 LXC_SYNC_CGROUP_LIMITS
,
17 LXC_SYNC_POST_RESTART
,
18 LXC_SYNC_ERROR
= -1 /* Used to report errors from another process */
21 int lxc_sync_init(struct lxc_handler
*handler
);
22 void lxc_sync_fini(struct lxc_handler
*);
23 void lxc_sync_fini_parent(struct lxc_handler
*);
24 void lxc_sync_fini_child(struct lxc_handler
*);
25 int lxc_sync_wake_child(struct lxc_handler
*, int);
26 int lxc_sync_wait_child(struct lxc_handler
*, int);
27 int lxc_sync_wake_parent(struct lxc_handler
*, int);
28 int lxc_sync_wait_parent(struct lxc_handler
*, int);
29 int lxc_sync_barrier_parent(struct lxc_handler
*, int);
30 int lxc_sync_barrier_child(struct lxc_handler
*, int);