#include <lxclock.h>
Data Fields | |
short | type |
union { | |
sem_t * sem | |
struct { | |
int fd | |
char * fname | |
} f | |
} | u |
LXC Lock
struct { ... } lxc_lock::f |
LXC_LOCK_FLOCK details
int lxc_lock::fd |
fd on which a lock is held (if not -1)
char* lxc_lock::fname |
Name of lock
sem_t* lxc_lock::sem |
Anonymous semaphore (LXC_LOCK_ANON_SEM)
short lxc_lock::type |
Lock type
union { ... } lxc_lock::u |
Container for lock type elements