change last logic to PIThreadNotifier
This commit is contained in:
@@ -26,10 +26,10 @@
|
||||
#ifndef PITHREAD_H
|
||||
#define PITHREAD_H
|
||||
|
||||
#include "piconditionvar.h"
|
||||
#include "piinit.h"
|
||||
#include "pimutex.h"
|
||||
#include "piobject.h"
|
||||
#include "pithreadnotifier.h"
|
||||
|
||||
class PIThread;
|
||||
|
||||
@@ -287,11 +287,11 @@ protected:
|
||||
PISystemTime delay_;
|
||||
llong tid_ = -1;
|
||||
void * data_ = nullptr;
|
||||
mutable PIMutex thread_mutex, state_mutex;
|
||||
mutable PIMutex thread_mutex;
|
||||
PITimeMeasurer tmf_, tms_, tmr_;
|
||||
PIThread::Priority priority_ = piNormal;
|
||||
ThreadFunc ret_func = nullptr;
|
||||
PIConditionVariable state_var;
|
||||
PIThreadNotifier state_notifier;
|
||||
PRIVATE_DECLARATION(PIP_EXPORT)
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user