* Fixed two or three things in sckint.cpp but I still don't manage to
fix the bug in wxSocketInternal::StopWaiter (Main thread hangs in wxThreadInternal::Wait). If someone has an idea I would be very happy ... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -126,13 +126,14 @@ class wxSocketInternal {
|
||||
SockRequest *WaitForReq();
|
||||
void EndRequest(SockRequest *req);
|
||||
public:
|
||||
wxMutex m_socket_locker, m_fd_locker, m_request_locker;
|
||||
wxMutex m_socket_locker, m_fd_locker, m_request_locker, m_end_requester;
|
||||
wxCondition m_socket_cond;
|
||||
wxSocketBase *m_socket;
|
||||
SocketWaiter *m_thread_waiter;
|
||||
SocketRequester *m_thread_requester;
|
||||
wxList m_requests;
|
||||
int m_fd;
|
||||
bool m_invalid_requester;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user