- use a dedicated virtual thread. (Subjectively) simpler code, but could be imitated with tail-call-like rescheduling - use condition variable to wait until the quene becomes non-empty. Could be replaced by polling in a loop, but this will either introduce latency, or higher CPU load (?) (cherry picked from commit dbf78cfb919aad0b0ef786d7815ac329808401fc) |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
pom.xml |