◆ LockQueue()
void SocketThread::LockQueue |
( |
| ) |
|
|
inline |
◆ NotifyParent()
void SocketThread::NotifyParent |
( |
| ) |
|
Notifies parent by making the SignalFD ready to read No requirements on locking
◆ OnNotify()
virtual void SocketThread::OnNotify |
( |
| ) |
|
|
pure virtual |
Called in the context of the parent thread after a notification has passed through the socket
◆ SetExitFlag()
void SocketThread::SetExitFlag |
( |
| ) |
|
|
inlinevirtual |
Signal the thread to exit gracefully.
Reimplemented from Thread.
◆ UnlockQueue()
void SocketThread::UnlockQueue |
( |
| ) |
|
|
inline |
◆ UnlockQueueWakeup()
void SocketThread::UnlockQueueWakeup |
( |
| ) |
|
|
inline |
Unlock queue and send wakeup to worker
◆ WaitForQueue()
void SocketThread::WaitForQueue |
( |
| ) |
|
|
inlineprotected |
Waits for an enqueue operation to complete You MUST hold the queue lock when you call this. It will be unlocked while you wait, and will be relocked before the function returns
The documentation for this class was generated from the following files:
- include/threadengine.h
- src/threadengines/threadengine_pthread.cpp
- src/threadengines/threadengine_win32.cpp