* 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:
Guilhem Lavaux
1999-05-09 12:24:13 +00:00
parent 31276cb5e7
commit 63496c98fa
2 changed files with 33 additions and 13 deletions

View File

@@ -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