[Tinyos-help] dynamic memory allocation in TinyOS

Philip Levis pal at cs.stanford.edu
Thu Feb 19 12:25:10 PST 2009


On Feb 9, 2009, at 10:32 AM, Stephen Dawson-Haggerty wrote:

>
> I believe the tinyos party line on dynamic memory is that it should  
> be encapsulated inside a component.  For instance, if you only want  
> to allocate one (or a small number) of kinds of objects, PoolC is  
> convenient.

Yes -- a global shared memory pool removes isolation between  
components. One bad component can cause many others to fail. Isolation  
is a pretty desirable property for dependable and reliable systems.

Phil


More information about the Tinyos-help mailing list