fixed code style
This commit is contained in:
parent
f973d1498d
commit
be2b87fd39
|
@ -96,15 +96,16 @@ private:
|
|||
|
||||
private:
|
||||
Mutex* m_mutex;
|
||||
Thread* m_thread;
|
||||
Thread* m_thread;
|
||||
bool m_update;
|
||||
CondVar<bool>* m_jobsReady;
|
||||
CondVar<bool>* m_jobListLock;
|
||||
CondVar<bool>* m_jobListLockLocked;
|
||||
Thread* m_jobListLocker;
|
||||
Thread* m_jobListLockLocker;
|
||||
Thread* m_jobListLocker;
|
||||
Thread* m_jobListLockLocker;
|
||||
|
||||
SocketJobs m_socketJobs;
|
||||
SocketJobMap m_socketJobMap;
|
||||
ISocketMultiplexerJob* m_cursorMark;
|
||||
ISocketMultiplexerJob*
|
||||
m_cursorMark;
|
||||
};
|
||||
|
|
|
@ -41,7 +41,8 @@ public:
|
|||
virtual void* getEventTarget() const;
|
||||
|
||||
// IListenSocket overrides
|
||||
virtual IDataSocket* accept();
|
||||
virtual IDataSocket*
|
||||
accept();
|
||||
|
||||
private:
|
||||
ISocketMultiplexerJob*
|
||||
|
@ -52,5 +53,5 @@ private:
|
|||
ArchSocket m_socket;
|
||||
Mutex* m_mutex;
|
||||
IEventQueue* m_events;
|
||||
SocketMultiplexer* m_socketMultiplexer;
|
||||
SocketMultiplexer* m_socketMultiplexer;
|
||||
};
|
||||
|
|
|
@ -87,5 +87,5 @@ private:
|
|||
bool m_readable;
|
||||
bool m_writable;
|
||||
IEventQueue* m_events;
|
||||
SocketMultiplexer* m_socketMultiplexer;
|
||||
SocketMultiplexer* m_socketMultiplexer;
|
||||
};
|
||||
|
|
|
@ -30,10 +30,12 @@ public:
|
|||
virtual ~TCPSocketFactory();
|
||||
|
||||
// ISocketFactory overrides
|
||||
virtual IDataSocket* create() const;
|
||||
virtual IListenSocket* createListen() const;
|
||||
virtual IDataSocket*
|
||||
create() const;
|
||||
virtual IListenSocket*
|
||||
createListen() const;
|
||||
|
||||
private:
|
||||
IEventQueue* m_events;
|
||||
SocketMultiplexer* m_socketMultiplexer;
|
||||
SocketMultiplexer* m_socketMultiplexer;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue