Motr  M0
m0_rw_lockable Struct Reference

#include <rm_rwlock.h>

Collaboration diagram for m0_rw_lockable:
Collaboration graph

Data Fields

const struct m0_fidrwl_fid
 
struct m0_rm_resource rwl_resource
 

Detailed Description

Resource for which RW lock can be acquired. RW lock is represented as credits for lockable resource.

Definition at line 113 of file rm_rwlock.h.

Field Documentation

◆ rwl_fid

const struct m0_fid* rwl_fid

RW lockable resource identifier. Lockable resources are equal if their identifiers are equal.

Definition at line 118 of file rm_rwlock.h.

◆ rwl_resource

struct m0_rm_resource rwl_resource

Embedded RM resource

Definition at line 120 of file rm_rwlock.h.


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