* wxThread fixes
* wxStream fix (Read(wxStreamBase)) * wxEvent: GTK idle loop waking up was actually good, reenabled. * wxSocket: all features working on Linux/RH6 (including high-level protocols) Needs testing on other platforms now. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,7 +82,11 @@ class SocketWaiter: public wxThread {
|
||||
int m_fd;
|
||||
};
|
||||
|
||||
class SocketRequester: public wxThread {
|
||||
class SocketRequester
|
||||
#if wxUSE_THREADS
|
||||
: public wxThread
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
SocketRequester(wxSocketBase *socket, wxSocketInternal *internal);
|
||||
~SocketRequester();
|
||||
@@ -136,8 +140,8 @@ class wxSocketInternal {
|
||||
wxMutex m_socket_locker, m_fd_locker, m_request_locker, m_end_requester;
|
||||
wxCondition m_socket_cond;
|
||||
SocketWaiter *m_thread_waiter;
|
||||
SocketRequester *m_thread_requester;
|
||||
#endif
|
||||
SocketRequester *m_thread_requester;
|
||||
wxList m_requests;
|
||||
int m_fd;
|
||||
bool m_invalid_requester;
|
||||
|
Reference in New Issue
Block a user