Search Toolkit Book for CSyncQueue_InternalAutoLock
Auto-lock the queue and unlock it when object will be destroyed. More...
#include <util/sync_queue.hpp>
Auto-lock the queue and unlock it when object will be destroyed.
For internal use in CSyncQueue only. Do not use it in your applications. Use CSyncQueue_AccessLock instead.
Definition at line 1154 of file sync_queue.hpp.
◆ TMyTypetemplate<class Type , class Container , class Traits >
Definition at line 1214 of file sync_queue.hpp.
◆ TQueuetemplate<class Type , class Container , class Traits >
Short name for queue type that this object can lock.
Definition at line 1158 of file sync_queue.hpp.
◆ CSyncQueue_InternalAutoLock() [1/3]template<class Type , class Container , class Traits >
◆ CSyncQueue_InternalAutoLock() [2/3]template<class Type , class Container , class Traits >
Constructor – lock the queue and waiting for its lock for a given timeout.
Definition at line 1171 of file sync_queue.hpp.
References ThrowSyncQueueTimeout().
◆ ~CSyncQueue_InternalAutoLock()template<class Type , class Container , class Traits >
◆ CSyncQueue_InternalAutoLock() [3/3]template<class Type , class Container , class Traits >
◆ Lock()template<class Type , class Container , class Traits >
Lock a queue.
Definition at line 1195 of file sync_queue.hpp.
References CSyncQueue_ConstAccessGuard< Type, Container, Traits >::m_Queue, result, and CSyncQueue< Type, Container, Traits >::x_Lock().
Referenced by CSyncQueue< Type, Container, Traits >::Clear(), CSyncQueue< Type, Container, Traits >::CopyTo(), CSyncQueue< Type, Container, Traits >::x_DoubleLock(), and CSyncQueue< Type, Container, Traits >::x_LockAndWait().
◆ operator=()template<class Type , class Container , class Traits >
◆ Unlock()template<class Type , class Container , class Traits >
◆ m_Queuetemplate<class Type , class Container , class Traits >
The documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4