|
Re: Questions on WPILib components thread usage
Digging through the WPILIBJ source code, I can see a couple of threads created, but only for minor asynchronous communication. Preferences, for instance, are saved and retrieved in a separate thread. Some of the networktable methods manage connections in separate threads.
The actual robot code seems to run entirely in a single thread.
Thread-safety is a good topic to discuss and an important discipline to remember, but I think that it will not be an issue in your robot code.
|