Re: [BLACKBOX] Variable instances in executables

From: [at]} <Alexander>
Date: Sun, 13 Nov 2011 00:40:41 +0400

----boundary-LibPST-iamunique-1850951684_-_-
Content-type: text/plain

Hello!

> In the following I talk about programs compiled and linked into
> executables.
>
> Lets say modules A and B are main programs.
>
> Each one imports a third module C which declares a variable v.
>
> How many instances of v are there when A and B are running at the same
> time?

  All running instances of all executables contain a copy of module C, each with its own variable v.

---=====---
 Alexander


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1850951684_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvIVxwYXINClxwYXINCj4gIEluIHRoZSBm
b2xsb3dpbmcgSSB0YWxrIGFib3V0IHByb2dyYW1zIGNvbXBpbGVkIGFuZCBsaW5rZWQgaW50b1xw
YXINCj4gIGV4ZWN1dGFibGVzLlxwYXINCj4gIFxwYXINCj4gIExldHMgc2F5IG1vZHVsZXMgQSBh
bmQgQiBhcmUgbWFpbiBwcm9ncmFtcy5ccGFyDQo+ICBccGFyDQo+ICBFYWNoIG9uZSBpbXBvcnRz
IGEgdGhpcmQgbW9kdWxlIEMgd2hpY2ggZGVjbGFyZXMgYSB2YXJpYWJsZSB2LlxwYXINCj4gIFxw
YXINCj4gIEhvdyBtYW55IGluc3RhbmNlcyBvZiB2IGFyZSB0aGVyZSB3aGVuIEEgYW5kIEIgYXJl
IHJ1bm5pbmcgYXQgdGhlIHNhbWVccGFyDQo+ICB0aW1lP1xwYXINClxwYXINCiAgQWxsIHJ1bm5p
bmcgaW5zdGFuY2VzIG9mIGFsbCBleGVjdXRhYmxlcyBjb250YWluIGEgY29weSBvZiBtb2R1bGUg
QywgZWFjaCB3aXRoIGl0cyBvd24gdmFyaWFibGUgdi5ccGFyDQpccGFyDQotLS09PT09PS0tLVxw
YXINCiBBbGV4YW5kZXJccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUs
IHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZA
TElTVFMuT0JFUk9OLkNIXHBhcg0KfQ==
----boundary-LibPST-iamunique-1850951684_-_---
Received on Sat Nov 12 2011 - 21:40:41 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:10 UTC