Mark Litwack wrote:
On Friday 16 May 2008 04:00:17 pm Dave N6NZ wrote:
[...]

I could see including both clobbering and non-clobbering flavors of
sei()/cli() in avrlibc -- then we can have a whole new and entertaining
argument about whether the old names sei()/cli() should have the new or
old behavior :)  :)

We already get clobbering versions of sei()/cli() locks
inside ATOMIC_BLOCK() and friends.  Won't that do it instead
of new versions of sei()/cli() (or whatever name)?

Yes, that makes perfect sense. Maybe we should capture the essence of this e-mail thread and include it in the avr-libc documentation so that the difference between the two is clear. After all, every once in a while somebody *does* read the documentation :)

-dave


-mark




_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to