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