Project

General

Profile

Bug #294

wireless library not thread safe

Added by Jason knichel over 8 years ago. Updated over 7 years ago.

Status:
Worksforme
Priority:
Normal
Assignee:
Category:
Library
Target version:
Start date:
Due date:
% Done:

0%


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 over 8 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.

#2 Updated by Kevin Woo over 7 years ago

  • Target version set to Library

#3 Updated by Rich Hong over 7 years ago

  • Status changed from 5 to Worksforme

#4 Updated by Rich Hong over 7 years ago

  • Category set to Library

Also available in: Atom PDF