Project

General

Profile

Bug #294

wireless library not thread safe

Added by Jason knichel about 15 years ago. Updated about 14 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 about 15 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 about 14 years ago

  • Target version set to Library

#3 Updated by Rich Hong about 14 years ago

  • Status changed from 5 to Worksforme

#4 Updated by Rich Hong about 14 years ago

  • Category set to Library

Also available in: Atom PDF