>> We are planning to replace SDCC'c current two memory allocators by a new
>> one. In one of the curent two (used in mcs51, ds390, hc08) malloc() and
>> friends code is in a critical section, in the other, it is not.

I've never used malloc and not se my going to use it in interrupt so personally 
this is a moot point.

Like others I think from practical point of view an insecure malloc is must so 
that those who need squeeze out the last bit of performance can do it and 
wrapping it in critical section is trivial.

However, does the C-standard say anything about this? I always prefer to adhere 
to the standard as far as language features are concerned.

Also I would prefer that what ever the current default is, it would not change 
so that old code does not need changes with new compiler/library.

wbr Kusti


This e-mail may contain confidential or privileged information. If you are not 
the intended recipient (or have received this e-mail in error) please notify 
the sender immediately and destroy this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly 
forbidden. We will not be liable for direct, indirect, special or consequential 
damages arising from alteration of the contents of this message by a third 
party or as a result of any virus being passed on or as of transmission of this 
e-mail in general.

------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to