A lock structure. More...
#include <airlock.h>
Data Fields | |
GString * | lpath |
Path to .lock file. | |
int | lfd |
File descriptor of open .lock file. | |
gboolean | held |
TRUE if this lock is held, and lpath and lfd are valid. | |
A lock structure.
Must be maintained by a caller from lock acquisition to release. Should be initialized by AIR_LOCK_INIT or memset(0) or bzero().