class Poco::ScopedRWLock

A variant of ScopedLock for reader/writer locks.

#include <RWLock.h>

class ScopedRWLock
{
public:
    // construction

    ScopedRWLock(
        RWLock& rwl,
        bool write = false
        );
};

// direct descendants

class ScopedReadRWLock;
class ScopedWriteRWLock;