Motr
M0
|
#include <fol.h>
Data Fields | |
struct m0_mutex | f_lock |
In-memory representation of a fol.
Liveness rules and concurrency control.
m0_fol liveness is managed by the user (the structure is not reference counted) which is responsible for guaranteeing that m0_fol_fini() is the last call against a given instance.
FOL code manages concurrency internally: multiple threads can call m0_fol_*() functions against the same fol (except for m0_fol_init() and m0_fol_fini()).