class Poco::RWLockImpl

Overview

This implementation is based on the one from Stone Steps Inc, licensed under the BSD license. Moreā€¦

#include <RWLock_Android.h>

class RWLockImpl
{
protected:
    // methods

    bool
    tryReadLockImpl();

    bool
    tryWriteLockImpl();

    void
    readLockImpl();

    bool
    tryReadLockImpl(DWORD timeout = 1);

    void
    writeLockImpl();

    bool
    tryWriteLockImpl(DWORD timeout = 1);

    void
    unlockImpl();
};

// direct descendants

class RWLock;

Detailed Documentation

This implementation is based on the one from Stone Steps Inc, licensed under the BSD license.

http://forums.stonesteps.ca/thread.asp?t=105

Note that with this implementation, writers always take precedence over readers.