mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
To make this work in PIDController.java, the use of synchronized had to be replaced with ReentrantLock and try-catch blocks. The locking in PIDController.java was made equivalent to PIDController.cpp and some existing race conditions in PIDController.java were fixed in the process. Fixes #30.