Add a comment explaining mutex use in wxWebSessionCURL
No real changes.
This commit is contained in:
@@ -142,6 +142,9 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
CURLM* m_handle;
|
CURLM* m_handle;
|
||||||
|
|
||||||
|
// Mutex and condition are used together to signal to the worker thread to
|
||||||
|
// wake up and mutex is also used to protected m_shuttingDown field.
|
||||||
wxMutex m_mutex;
|
wxMutex m_mutex;
|
||||||
wxCondition m_condition;
|
wxCondition m_condition;
|
||||||
bool m_shuttingDown;
|
bool m_shuttingDown;
|
||||||
|
Reference in New Issue
Block a user