|
From: | Bjarne Laursen |
Subject: | [avr-gcc-list] using malloc() in a SIGNAL function |
Date: | Fri, 15 Apr 2005 11:50:59 +0200 |
User-agent: | Mozilla Thunderbird 0.7.3 (Windows/20040803) |
Hey. I am just doing some code reviewing.I found that the code uses the malloc() function inside a SIGNAL function, as well as in the maincode. I did not find anything about if that is safe, in the documentation. But looking in the lst-file I can see no cli instructions. But of cource, it could be protected againts reentry in other ways. But is it?
-Bjarne Laursen, RoseTechnology A/S
[Prev in Thread] | Current Thread | [Next in Thread] |