Bug #294

wireless library not thread safe

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

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

0%

Category:Library
Target version:Library

Description

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

History

#1 Updated by Brian Coltin almost 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 about 5 years ago

  • Target version set to Library
  • 2 set to Worksforme

#3 Updated by Rich Hong about 5 years ago

  • Status changed from 5 to Worksforme

#4 Updated by Rich Hong about 5 years ago

  • Category set to Library

Also available in: Atom PDF