wxSocketInternal *m_internal;
int m_fd;
};
+#endif
class SocketRequester
#if wxUSE_THREADS
bool WaitFor(wxSocketBase::wxRequestNotify req, int millisec);
+#if wxUSE_THREADS
// Thread Entry point
// ---
virtual void *Entry();
+#endif
public:
wxSocketBase *m_socket;
wxSocketInternal *m_internal;
int m_fd;
};
-#endif
- // wxUSE_THREADS
class wxSocketInternal {
public:
void QueueRequest(SockRequest *request, bool async);
void WaitForEnd(SockRequest *request);
+ // Used by SocketRequester
SockRequest *WaitForReq();
void EndRequest(SockRequest *req);
public: