fixed lots of not-thread-safe things

Most of the things I fixed here were using libc functions that are
fundamentally not thread-safe.
33 files changed
tree: 71a4c360e70d955aefe282a8bd830beb7913eb40
  1. aos/
  2. bbb_cape/
  3. doc/
  4. frc971/
  5. output/
  6. vision/
  7. .gitignore