NVDA Helper
In-process and lite high-speed utilities for NVDA
|
A class that provides a locking mechonism on objects. More...
#include <lock.h>
Classes | |
class | ScopedLock |
Public Member Functions | |
LockableObject () | |
virtual | ~LockableObject () |
void | acquire () |
Acquires access (possibly waighting until its free). | |
void | release () |
Releases exclusive access of the object. | |
ScopedLock | scopedAcquire () |
A class that provides a locking mechonism on objects.
The lock is reeentrant for the same thread.
|
inline |
|
inlinevirtual |
|
inline |
Acquires access (possibly waighting until its free).
Referenced by LockableAutoFreeObject::acquire(), GlyphTranslatorCache::cleanup(), fake_SetWindowsHookExA(), GlyphTranslatorCache::fetchGlyphTranslator(), initInprocManagerThreadIfNeeded(), inproc_winEventCallback(), inprocMgrThreadFunc(), LockableObject::ScopedLock::ScopedLock(), TSF_inProcess_terminate(), TSF_thread_detached(), TSF_winEventHook(), VBufBackend_t::update(), VBufRemote_destroyBuffer(), VBufRemote_findNodeByAttributes(), VBufRemote_getControlFieldNodeWithIdentifier(), VBufRemote_getFieldNodeOffsets(), VBufRemote_getIdentifierFromControlFieldNode(), VBufRemote_getLineOffsets(), VBufRemote_getSelectionOffsets(), VBufRemote_getTextInRange(), VBufRemote_getTextLength(), VBufRemote_isFieldNodeAtOffset(), VBufRemote_locateControlFieldNodeAtOffset(), VBufRemote_locateTextFieldNodeAtOffset(), and VBufRemote_setSelectionOffsets().
|
inline |
Releases exclusive access of the object.
Referenced by GlyphTranslatorCache::cleanup(), fake_SetWindowsHookExA(), GlyphTranslatorCache::fetchGlyphTranslator(), initInprocManagerThreadIfNeeded(), inproc_winEventCallback(), inprocMgrThreadFunc(), LockableAutoFreeObject::release(), TSF_inProcess_terminate(), TSF_thread_detached(), TSF_winEventHook(), VBufBackend_t::update(), VBufRemote_findNodeByAttributes(), VBufRemote_getControlFieldNodeWithIdentifier(), VBufRemote_getFieldNodeOffsets(), VBufRemote_getIdentifierFromControlFieldNode(), VBufRemote_getLineOffsets(), VBufRemote_getSelectionOffsets(), VBufRemote_getTextInRange(), VBufRemote_getTextLength(), VBufRemote_isFieldNodeAtOffset(), VBufRemote_locateControlFieldNodeAtOffset(), VBufRemote_locateTextFieldNodeAtOffset(), VBufRemote_setSelectionOffsets(), and LockableObject::ScopedLock::~ScopedLock().
|
inline |
Referenced by VBufBackend_t::invalidateSubtree().