Modify PushAndWaitAndPop test case 40/286940/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 17 Jan 2023 06:41:41 +0000 (06:41 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 17 Jan 2023 06:41:41 +0000 (06:41 +0000)
commit11d2091c58f004c6badbd24c011af234634b2e6c
treeb709567ef2012967a357c8d709f269b6f9ea0709
parentca0bbf65a5c63e09bc85ad1a4610f3cbd94dfe57
Modify PushAndWaitAndPop test case

The previous implementation has a timing issue. This patch is to fix the issue.
The main thread calls WaitAndPop() method and the thread calls Push() method.

Change-Id: Id4b19b6fee1c31f2ebd8bed16dbc782161c3c8e5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tests/tizen-shared-queue_unittests/test_shared_queue.cc