Xenomai
3.0.5
|
Vfile locking operations. More...
Data Fields | |
int(* | get )(struct xnvfile *vfile) |
void(* | put )(struct xnvfile *vfile) |
Vfile locking operations.
This structure describes the operations to be provided for implementing locking support on vfiles. They apply to both snapshot-driven and regular vfiles.
int(* xnvfile_lock_ops::get) (struct xnvfile *vfile) |
This handler should grab the desired lock.
vfile | A pointer to the virtual file which needs locking. |
void(* xnvfile_lock_ops::put) (struct xnvfile *vfile) |
This handler should release the lock previously grabbed by the get() handler.
vfile | A pointer to the virtual file which currently holds the lock to release. |