Added mutex lock for avoiding the data race condition 49/305649/2 accepted/tizen/unified/20240207.171607 accepted/tizen/unified/x/20240208.022950
authordyamy-lee <dyamy.lee@samsung.com>
Tue, 6 Feb 2024 03:17:08 +0000 (12:17 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Tue, 6 Feb 2024 03:18:38 +0000 (12:18 +0900)
commit29cf0c534ff5a820c1acd14a646778e374404213
treea980c58d1835a7402c154825c61f68839238ac84
parent2f825471fcbd0f27eb40656c42e9d562389dd09d
Added mutex lock for avoiding the data race condition

When it updates g_config_info, it needs mutex lock for preventing the data race condition.
When it accesses g_app_list, it needs mutex lock for preventing the data race condition.

Change-Id: I7b094b377a81e1e4fa35bf6cf6332a6baef8f83e
common/tts_config_parser.c
server/ttsd_data.cpp