wireless library not thread safe
in the interrupt for the robots, arrival_buf is added to, and things are removed in a non-thread safe manner in other functions like xbee_wait_for_string and xbee_get_packet
#1 Updated by Brian Coltin over 9 years ago
- Status changed from New to 5
The interrupt only modifies the end position of the buffer, and everything else only modifies the start of the buffer. So this should be fine unless there is a collision between the beginning and end of the buffer, in which case we're screwed anyways. And the robots don't have threads.