efl/src/lib/eo
Vitor Sousa a86a0931f1 eo: add events to track the ownership status of an Eo object
Some user code may want to track an object ownership in regard to whether it is
kept by just one owner or shared between many owners.

This is specially true for code provided by bindings to other programming
languages, where different kinds of resource management may take place.

The event `ownership,unique` is triggered whenever the object refcount goes
from two to one, as a signal that it has just one owner from now on.

The event `ownership,shared` is triggered whenever the object refcount goes
from one to two, as a signal that it has multiple owners from now on.
It will not trigger when further increasing the refcount to any value beyond
two.

We also add benchmarks for sharing (i.e. increasing the refcount) and them
unsharing objects, in order to evaluate the performance impact of this patch.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8678
2019-05-29 15:53:23 -07:00
..
Eo.h docs: Fix common misspellings in H files 2019-04-02 13:28:48 +02:00
efl_class.eo
efl_object.eo eo: add events to track the ownership status of an Eo object 2019-05-29 15:53:23 -07:00
efl_object_override.eo
eina_types.eot docs: Add Eina.Value extern to eina_types.eot 2019-03-29 12:35:49 +01:00
eo.c eo: add events to track the ownership status of an Eo object 2019-05-29 15:53:23 -07:00
eo_add_fallback.c
eo_add_fallback.h
eo_base_class.c eo: add events to track the ownership status of an Eo object 2019-05-29 15:53:23 -07:00
eo_class_class.c
eo_internal.h eo: Correctly name Realized classes. 2019-04-02 11:02:27 +02:00
eo_private.h eo: add events to track the ownership status of an Eo object 2019-05-29 15:53:23 -07:00
eo_ptr_indirection.c
eo_ptr_indirection.h
eo_ptr_indirection.x
meson.build