[BLACKBOX] Fw: [BLACKBOX] Variable instances in executables

From: [at]} <Bernhard>
Date: Sun, 13 Nov 2011 13:25:14 +0100

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

>> 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.
>


 absolutely correct.

 Even when module C would be linked as a seperateDLL, each running EXE
would have its own variables (which might be a bit confusing) ...

regards
    Bernhard


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1207248983_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID4+IEluIHRoZSBmb2xsb3dpbmcgSSB0YWxrIGFi
b3V0IHByb2dyYW1zIGNvbXBpbGVkIGFuZCBsaW5rZWQgaW50byBccGFyDQo+PiBleGVjdXRhYmxl
cy5ccGFyDQo+PlxwYXINCj4+ICBMZXRzIHNheSBtb2R1bGVzIEEgYW5kIEIgYXJlIG1haW4gcHJv
Z3JhbXMuXHBhcg0KPj5ccGFyDQo+PiAgRWFjaCBvbmUgaW1wb3J0cyBhIHRoaXJkIG1vZHVsZSBD
IHdoaWNoIGRlY2xhcmVzIGEgdmFyaWFibGUgdi5ccGFyDQo+PlxwYXINCj4+ICBIb3cgbWFueSBp
bnN0YW5jZXMgb2YgdiBhcmUgdGhlcmUgd2hlbiBBIGFuZCBCIGFyZSBydW5uaW5nIGF0IHRoZSBz
YW1lXHBhcg0KPj4gIHRpbWU/XHBhcg0KPlxwYXINCj4gIEFsbCBydW5uaW5nIGluc3RhbmNlcyBv
ZiBhbGwgZXhlY3V0YWJsZXMgY29udGFpbiBhIGNvcHkgb2YgbW9kdWxlIEMsIGVhY2ggXHBhcg0K
PiB3aXRoIGl0cyBvd24gdmFyaWFibGUgdi5ccGFyDQo+XHBhcg0KXHBhcg0KIGFic29sdXRlbHkg
Y29ycmVjdC5ccGFyDQpccGFyDQogRXZlbiB3aGVuIG1vZHVsZSBDIHdvdWxkIGJlIGxpbmtlZCBh
cyBhIHNlcGVyYXRlRExMLCBlYWNoIHJ1bm5pbmcgRVhFXHBhcg0Kd291bGQgaGF2ZSBpdHMgIG93
biAgdmFyaWFibGVzICh3aGljaCBtaWdodCBiZSBhIGJpdCBjb25mdXNpbmcpIC4uLlxwYXINClxw
YXINCnJlZ2FyZHNccGFyDQogICAgQmVybmhhcmQgXHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXIN
ClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tC
T1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSH19ABoAAAA=
----boundary-LibPST-iamunique-1207248983_-_---
Received on Sun Nov 13 2011 - 13:25:14 UTC

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