path: root/src/
diff options
authorJérémy Zurcher <>2014-01-21 17:42:07 +0100
committerTom Hacohen <>2014-04-10 04:20:21 +0100
commit4b9c37501c86d0c906406bc4d234e5bbb5550cc1 (patch)
tree55fe2eb5771f1fa6c818f2c8045776a3cb1e1f11 /src/
parent64aa007caf13db318cfed25b074ea4b0f2fdfe98 (diff)
eo2: add tests for thread safe call stack
Summary: 2 threads run 'eo2_do(o, a(), b());' - A goes first, creates an object, enters 'eo2_do(o, a(), b());' in a() call, it blocks, releases B and waits for it. - B when released, creates an object, enters 'eo2_do(o, a(), b());' in a() call, it joins and releases A, then blocks. - A returns from a(); and enters b() using current call stack frame, which is the one pushed by B! then pop the frame and releases B. - B does as above using the stack pushed by A!
Diffstat (limited to 'src/')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ b/src/
index 9b1cb117c2..bfefd27d73 100644
--- a/src/
+++ b/src/
@@ -99,6 +99,7 @@ tests/eo/suite/eo_test_class_errors.c \
99tests/eo/suite/eo_test_call_errors.c \ 99tests/eo/suite/eo_test_call_errors.c \
100tests/eo/suite/eo_test_general.c \ 100tests/eo/suite/eo_test_general.c \
101tests/eo/suite/eo_test_value.c \ 101tests/eo/suite/eo_test_value.c \
102tests/eo/suite/eo_test_threaded_calls.c \
102tests/eo/suite/eo_test_init.c 103tests/eo/suite/eo_test_init.c
103tests_eo_eo_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ 104tests_eo_eo_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
104-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eo\" \ 105-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eo\" \