version 4.0.0_alpha

in almost all methods removed timeouts in milliseconds, replaced to PISystemTime
PITimer rewrite, remove internal impl, now only thread implementation, API similar to PIThread
PITimer API no longer pass void*
PIPeer, PIConnection improved stability on reinit and exit
PISystemTime new methods
pisd now exit without hanging
This commit is contained in:
2024-07-30 14:18:02 +03:00
parent f07c9cbce8
commit 1c7fc39b6c
58 changed files with 677 additions and 1191 deletions

View File

@@ -65,10 +65,7 @@ public:
void setPacketSize(int size) { packet_size = size; }
int packetSize() const { return packet_size; }
void setTimeout(double sec) {
timeout_ = sec;
diag.setDisconnectTimeout(sec);
}
void setTimeout(double sec);
double timeout() const { return timeout_; }
void setCRCEnabled(bool en = true) { crc_enabled = en; }