Closed robertpi closed 4 years ago
This version uses an event to signal that the content has changed, this means the socket loop will go into a wait state. The previous version continually checked a mutable variable without every waiting, meaning the CPU consumption was high
Awesome, thanks!
This version uses an event to signal that the content has changed, this means the socket loop will go into a wait state. The previous version continually checked a mutable variable without every waiting, meaning the CPU consumption was high