malloc/free from ISR
Brett Swimley
brett.swimley at aedinc.net
Wed Nov 13 16:53:41 UTC 2002
OK - that answers my question! I guess the rewrite is in my future sooner
rather than later :(
Regards,
Brett
> -----Original Message-----
> From: Eric Norum [mailto:eric.norum at usask.ca]
> Sent: Wednesday, November 13, 2002 9:53 AM
> To: brett.swimley at aedinc.net
> Cc: 'RTEMS'
> Subject: Re: malloc/free from ISR
>
>
>
> On Wednesday, November 13, 2002, at 10:42 AM, Brett Swimley wrote:
>
> > I definitely agree, but for now, can I legally get away with this?
> >
> >
> No.
> There's no interrupt protection around any of the malloc/free code.
> Perhaps the RTEMS memory partition manager might be more appropriate
> for your application.
>
>
> BTW -- what system did this driver come from?
> --
> Eric Norum <eric.norum at usask.ca>
> Department of Electrical Engineering
> University of Saskatchewan
> Saskatoon, Canada.
> Phone: (306) 966-5394 FAX: (306) 966-5407
>
More information about the users
mailing list