|
Xenomai
3.2.4
|
Vfile locking operations . More...
#include <vfile.h>
Data Fields | |
| int(* | get )(struct xnvfile *vfile) |
| This handler should grab the desired lock. More... | |
| void(* | put )(struct xnvfile *vfile) |
| This handler should release the lock previously grabbed by the get() handler. More... | |
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. |