Bug #294

wireless library not thread safe

Added by Jason knichel over 6 years ago. Updated over 5 years ago.

Status:WorksformeStart date:
Priority:NormalDue date:
Assignee:Brian Coltin% Done:


Target version:Library


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 6 years ago

  • Status changed from New to 5
  • 6 set to worksforme

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.

#2 Updated by Kevin Woo over 5 years ago

  • Target version set to Library
  • 2 set to Worksforme

#3 Updated by Rich Hong over 5 years ago

  • Status changed from 5 to Worksforme

#4 Updated by Rich Hong over 5 years ago

  • Category set to Library

Also available in: Atom PDF