eo: Fix deadlocks with composite objects
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 6 Oct 2016 07:27:28 +0000 (16:27 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 6 Oct 2016 08:57:45 +0000 (17:57 +0900)
commit9c95eda74869e7bd36a175929c6f6d1b38360c09
tree56c3163b98f005dcecb6c63db2c02af11e97d88d
parent6ce60a0de5ec5c28c06ecbcba0b7f0e1958a382d
eo: Fix deadlocks with composite objects

This happens with shared objects.

The situation seems to be:
1. object has composited object a of class A in thread 1
2. call something on object a from thread 2, deadlock
In fact, do anything from thread 2 on a shared object and you deadlock.
src/lib/eo/eo.c
src/lib/eo/eo_base_class.c
src/tests/eo/suite/eo_test_general.c