avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] eeproms and interrupts


From: Branislav Katreniak
Subject: Re: [avr-libc-dev] eeproms and interrupts
Date: Tue, 9 Aug 2005 16:06:14 +0200
User-agent: Mutt/1.5.9i

> I'd even go so far to write it in the preamble that unless explicitly
> stated, none of the library functions claims interrupt-safety.

You are right that access to any periferial must be protected against
race conditions. You are right that the best approach is to keep
interrupt routines tiny. 

But what about applications using preemtive kernel? Library functions
which do not access periferials are all thread safe (except that using
malloc() and free()). Why should the documentation say something
different?

Brano


-- 
Branislav Katreniak
mailto: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]