efl/src/tests/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
..
access eo: remove class functions from eo 2019-02-13 16:59:59 +01:00
children build: also build eo-tests with debug profile 2019-02-12 16:24:24 +01:00
composite_objects eo: remove class functions from eo 2019-02-13 16:59:59 +01:00
constructors eo: remove class functions from eo 2019-02-13 16:59:59 +01:00
function_overrides eo: remove class functions from eo 2019-02-13 16:59:59 +01:00
interface eo: add API for querying the class type 2019-02-21 08:56:13 +01:00
mixin eo: add API for querying the class type 2019-02-21 08:56:13 +01:00
signals eo: remove class functions from eo 2019-02-13 16:59:59 +01:00
suite eo: add events to track the ownership status of an Eo object 2019-05-29 15:53:23 -07:00
.gitignore ignores: eo_suite_add_fallback 2016-05-18 21:57:02 +02:00
eunit_tests.h Eo tests: Fix function overrides test to not test some things when NDEBUG is used. 2013-01-18 16:13:30 +00:00
meson.build here comes meson 2018-10-02 17:22:50 +02:00