Wiki page eo-intro.md changed with summary [] by Xavi Artigas

This commit is contained in:
Xavi Artigas 2017-11-09 04:09:26 -08:00 committed by apache
parent 3643519863
commit 80fd17f16b
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ At this point, you have created your first Eo object. It is time now to talk abo
### Reference Counting ###
In the simplest case, when only one piece of code is interacting with an object, you can create the object, use it, and then destroy it. In more complex scenarios though, when different parts of the code use the same object, maybe from different execution threads, it is not easy to know when an object is not in use anymore and can therefore be safely destroyed.
In the simplest case, when only one piece of code is interacting with an object, you can create the object, use it, and then destroy it. In more complex scenarios though, when different parts of the code use the same object, it is not easy to know when an object is not in use anymore and can therefore be safely destroyed.
A common approach to this problem is to use the **Reference Counting** technique, in which every object keeps track of how many people (pieces of code) are using it in an internal *reference counter*: