PIIODevice::bytesAvailible()
fix pistringlist pibinarystream write pibinarystream::binaryStreamSize() PIByteArray pibinarystream read with more size fix pistring pibinarystream read optimization fix bug in PIIOBinaryStream read and write if failed workaround in PIIOString::readDevice PISPI readDevice bug Fixed
This commit is contained in:
@@ -147,10 +147,10 @@ protected:
|
||||
mutable PIMutex rec_mutex;
|
||||
|
||||
private:
|
||||
void begin() {
|
||||
void begin() override {
|
||||
init();
|
||||
}
|
||||
void run() {
|
||||
void run() override {
|
||||
if (!isOpened()) {
|
||||
open();
|
||||
diag_.reset();
|
||||
@@ -185,7 +185,7 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
void end() {
|
||||
void end() override {
|
||||
stopRecord();
|
||||
close();
|
||||
}
|
||||
|
||||
@@ -135,8 +135,8 @@ protected:
|
||||
uint max_size;
|
||||
|
||||
private:
|
||||
void begin() {cnt = 0;}
|
||||
void run() {
|
||||
void begin() override {cnt = 0;}
|
||||
void run() override {
|
||||
mutex.lock();
|
||||
while (in.isEmpty()) {
|
||||
cv.wait(mutex);
|
||||
|
||||
@@ -220,7 +220,7 @@ private:
|
||||
static Pool * instance();
|
||||
void add(_PITimerImp_Pool * t);
|
||||
void remove(_PITimerImp_Pool * t);
|
||||
void run();
|
||||
void run() override;
|
||||
PIVector<_PITimerImp_Pool * > timers, to_remove;
|
||||
private:
|
||||
explicit Pool();
|
||||
|
||||
Reference in New Issue
Block a user