mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 02:22:57 +01:00
Merge branch 'devel' of https://github.com/pocoproject/poco into devel
This commit is contained in:
commit
7a2f2e0ac7
@ -138,7 +138,11 @@ void SocketReactor::stop()
|
|||||||
|
|
||||||
void SocketReactor::wakeUp()
|
void SocketReactor::wakeUp()
|
||||||
{
|
{
|
||||||
if (_pThread) _pThread->wakeUp();
|
if (_pThread && _pThread != Thread::current())
|
||||||
|
{
|
||||||
|
_pThread->wakeUp();
|
||||||
|
_pollSet.wakeUp();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user