Airframe Application Utilities
libairframe 2.12.0 API documentation

Data Fields
_AirLock Struct Reference

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.
 

Detailed Description

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().


The documentation for this struct was generated from the following file: