arthurlockman / wyatt

A modular framework for developing testable robots.
http://wyatt.rthr.me
MIT License
1 stars 1 forks source link

Check code for threading issues #60

Open TuckerHaydon opened 7 years ago

TuckerHaydon commented 7 years ago

Most of the code I wrote is not thread safe. It has not presented itself as an issue, but it may at some point.

Threads: Communicator EncoderAdapter CommandManager

Objects modified by threads: Any IHardwareInterface (although these should ONLY be modified by the communicator).

Any ISensor object (written to by the Communicator, read from by Command)

Communicator (messages written to by Command)