[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [patch #4611] sleep.h sleep_mode() not interrupt safe
From: |
Joerg Wunsch |
Subject: |
[avr-libc-dev] [patch #4611] sleep.h sleep_mode() not interrupt safe |
Date: |
Tue, 27 Dec 2005 23:44:49 +0100 |
User-agent: |
Mozilla/5.0 Galeon/1.2.13 (X11; FreeBSD i386; U;) Gecko/0 |
Follow-up Comment #1, patch #4611 (project avr-libc):
I just committed your patch to CVS, with the sleep() macro
name changed into sleep_cpu() (so it still starts with the
word "sleep" but cannot be confused with the Posix function
sleep()), and without the sleep_if() macro. There has been
some discussion in avr-gcc-list, namely
http://lists.gnu.org/archive/html/avr-gcc-list/2005-12/msg00088.html
convinced me to rather add some explanation and an example
about how to use the other macros to get the effect of an
atomic test-and-sleep functionality.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=4611>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [patch #4611] sleep.h sleep_mode() not interrupt safe,
Joerg Wunsch <=