Quote:
Originally Posted by Lalaland1125
Does anyone know exactly where someone could find the threading guarantees we have with the WPILIB library? Can we set motors from separate threads? Can we call I/O functions(both networking and storage) concurrently? Are the constructors for the PWM-like classes free from contention? Etc.
Some of the newer programmers on my team want to look into multithreading next year and I am wondering whether we need to mutex the world in order for it to work well.
|
From what I've seen, you can have numerous calls to the same device instance, and synchronized blocks will be placed somewhere in the invoked method.