PICloudServer don't delete clients
This commit is contained in:
@@ -122,7 +122,7 @@ void PIThreadNotifier::wait() {
|
||||
//! \~russian
|
||||
//! Если ожидают несколько потоков, то уведомляет один случайный.\n
|
||||
//! Если вызвать "n" раз, то все ожидающие потоки уведомятся суммарно "n" раз.
|
||||
void PIThreadNotifier::notifyOnce() {
|
||||
void PIThreadNotifier::notify() {
|
||||
m.lock();
|
||||
cnt++;
|
||||
v.notifyAll();
|
||||
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
|
||||
//! \~english Notify one waiting thread, which waiting on \a wait() function
|
||||
//! \~russian Уведомить один из ожидающих потоков, которые висят на методе \a wait()
|
||||
void notifyOnce();
|
||||
void notify();
|
||||
|
||||
private:
|
||||
ullong cnt;
|
||||
|
||||
Reference in New Issue
Block a user