diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-01-21 17:42:07 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2014-04-10 04:20:21 +0100 |
commit | 4b9c37501c86d0c906406bc4d234e5bbb5550cc1 (patch) | |
tree | 55fe2eb5771f1fa6c818f2c8045776a3cb1e1f11 /src/Makefile_Eo.am | |
parent | 64aa007caf13db318cfed25b074ea4b0f2fdfe98 (diff) | |
download | efl-4b9c37501c86d0c906406bc4d234e5bbb5550cc1.tar.gz |
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/Makefile_Eo.am')
-rw-r--r-- | src/Makefile_Eo.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am index 9b1cb117c2..bfefd27d73 100644 --- a/src/Makefile_Eo.am +++ b/src/Makefile_Eo.am @@ -99,6 +99,7 @@ tests/eo/suite/eo_test_class_errors.c \ tests/eo/suite/eo_test_call_errors.c \ tests/eo/suite/eo_test_general.c \ tests/eo/suite/eo_test_value.c \ +tests/eo/suite/eo_test_threaded_calls.c \ tests/eo/suite/eo_test_init.c tests_eo_eo_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ -DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eo\" \ |