bugAVR C Runtime Library - Bugs: bug #14068, Document non-reentrancy of some...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14068: Document non-reentrancy of some library functions

Submitter:  Joerg Wunsch <joerg_wunsch>
Submitted:  Tue 09 Aug 2005 08:42:03 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Percent Complete:  0% Open/Closed:  Closed
Release:  None Fixed Release:  None

Tue 09 Aug 2005 08:42:03 PM UTC, original submission:  

See recent discussion in the avr-libc mailing list
(subject "eeproms and interrupts"):

It should be documented that the library normally does not
make any precautions to be re-entrant.  So anyone calling
library functions from both, interrupt and non-interrupt
contexts should make sure to add the needed protection.

As an example, unprotected access to EEPROM functions from
both contexts could easily disturb the setup of the EEADR
register.

The library itself is believed to be interrupt-save in general
though.

All this ought to be documented.

Joerg Wunsch <joerg_wunsch>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-08-14 joerg_wunsch StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.15-64aa.
Corresponding source code