avr-gcc-list
[Top][All Lists]
Advanced

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

RE: [avr-gcc-list] reentrant interrupt service routine


From: Weddington, Eric
Subject: RE: [avr-gcc-list] reentrant interrupt service routine
Date: Mon, 7 Apr 2008 09:51:58 -0600

 

> -----Original Message-----
> From: Bernard Fouché [mailto:address@hidden 
> Sent: Monday, April 07, 2008 9:44 AM
> To: address@hidden
> Cc: Weddington, Eric; address@hidden; address@hidden
> Subject: Re: [avr-gcc-list] reentrant interrupt service routine
> 
> Malloc() and friends are not reentrant, they use globals to 
> handle the 
> freelist. To share that list, you would need a locking mechanism and 
> such a mechanism is usually OS specific and could not be provided by 
> avr-libc (IMHO). So in some cases it will be difficult to 
> provide more 
> than documentation

I agree. But at least documentation is more than what we have at the moment. 
Even if we cannot do anything in avr-libc about it, but there is a list of what 
is not re-entrant, then OS writers and users can take this under consideration.

And thanks for pointing out malloc() and friends.




reply via email to

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