yast2-storage
Public Member Functions | Private Attributes

storage::Lock Class Reference

#include <Lock.h>

Inheritance diagram for storage::Lock:
noncopyable

List of all members.

Public Member Functions

 Lock (bool readonly, bool disable=false)
 ~Lock () throw ()

Private Attributes

const bool disabled
int fd

Detailed Description

Implement a global read-only or read-write lock.


Constructor & Destructor Documentation

storage::Lock::Lock ( bool  readonly,
bool  disable = false 
)

References y2deb, y2err, and y2mil.

storage::Lock::~Lock ( ) throw ()

References disabled, fd, and y2mil.


Member Data Documentation

const bool storage::Lock::disabled [private]

Referenced by ~Lock().

int storage::Lock::fd [private]

Referenced by ~Lock().


The documentation for this class was generated from the following files: