| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | code and data |
-=> Quoting Peter Fitzsimmons to Phil Crown <=-
PC> My question is: Does the code have its own copy too, or will I need to
PC> serialize calls to the the methods of the classes?
PF> There is only one copy of the code -- but you DON'T have to serialize
PF> calls to it. Code is "read only", so there are no worries.
PF> You only have to worry about data that has "extra-thread" scope.
OK, thanks.
I was wondering if having the code in each item in the list is using
more memory than if the code was not in the list, but since its a class
its easier to keep the code and data togather.
What is "extra-thread" scope?
Phil Crown pcrown{at}airmail.net http://web2.airmail.net/pcrown/
--- Blue Wave/OS2 v2.30
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 972-250-4479 * (1:124/1208)SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407 SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1 @PATH: 124/1208 1 396/1 270/101 712/624 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.