IPC: Convert test synchronization method to Latch 73/33373/3
authorLukasz Kostyra <l.kostyra@samsung.com>
Wed, 7 Jan 2015 14:39:02 +0000 (15:39 +0100)
committerLukasz Kostyra <l.kostyra@samsung.com>
Mon, 12 Jan 2015 13:52:32 +0000 (14:52 +0100)
commita83342a7862458d2a6a35fe8889e80cd9a9dc1bb
tree9024eac473f146659b32f4f5838bd901924e3e12
parent3035b39d565506bc70dce035cd4178e883b7f976
IPC: Convert test synchronization method to Latch

[Bug/Feature]   Some tests were using sleep_for in order to synchronize threads
[Cause]         N/A
[Solution]      Use Latch instead of atomic_bool set and sleep_for to
                synchronize threads in tests
[Verification]  Build, install, run tests. Should pass as they did before.

Change-Id: I3067ed1f13cdde047f720c0b6d05ce19ec156dbe
tests/unit_tests/ipc/ut-ipc.cpp