intelligent-agent / redeem

Firmware for Replicape
http://wiki.thing-printer.com/index.php?title=Redeem
GNU General Public License v3.0
36 stars 44 forks source link

speed up shutdowns #179

Closed ThatWileyGuy closed 5 years ago

ThatWileyGuy commented 5 years ago

This PR combines most of Redeem's threads sitting in select-loops into an IOManager class. This reduces the number of OS threads we need overall and makes shutdown nearly instantaneous. Additionally, the Heaters (which do still need threads) are waiting on Events now, which let them stop quickly as well.

ThatWileyGuy commented 5 years ago

Updated.