Yes, they use the same location. Parameterized interfaces help solve this
problem by allowing you to handle multiple clients and create an array of
variables, one for each client, by using the unique("<interface_name>") and
uniqueCount("<interface_name") nesC commands.
Just make sure if you're going to implement the parameterized interface to a
component, that you also implement default events for your component's
interface, or you'll get compile errors.
-David
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jose m
Sent: Thursday, May 04, 2006 12:29 PM
To: [email protected]
Subject: [Tinyos-help] Language question
Hi everyone,
If I have two declarations of the same component, like
those
component A as X, A as Z;
and A has a variable v. v in X and v in Z share the
memory location?
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help