MiddleWare: Use lookahead read while waiting for /state_frozen
commite556f947fcb7b5bfe5545d823ff9f3d9fd5270d1
authorRicard Wanderlof <polluxsynth@butoba.net>
Mon, 11 Apr 2022 04:58:22 +0000 (11 06:58 +0200)
committerMark McCurry <mark.d.mccurry@gmail.com>
Sat, 28 May 2022 15:46:30 +0000 (28 11:46 -0400)
tree9c017ad266a90a56d8f6745736a824968c66deac
parentd32eda769d1fe77378d3bd318c12c0135b5cba9f
MiddleWare: Use lookahead read while waiting for /state_frozen

Use newly introduced lookahead read in ThreadLink to read
message buffer while looking for /state_frozen from backend,
while leaving the messages in the buffer for later processing.
src/Misc/MiddleWare.cpp