Add locking and unlocking mutex 79/302379/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 6 Dec 2023 04:49:56 +0000 (13:49 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 6 Dec 2023 04:50:45 +0000 (13:50 +0900)
commitdbe5cdadfb7262728465d234a322eef2e3557ac2
treeb96571a694661e6d43f8956f7ec56ccd876b1844
parent8cb62cc4b1f92362bb62d805cdd9fbcd4705f73b
Add locking and unlocking mutex

It is problematic if a callback invoke event is delivered to the main thread
while calling callback dispose() in the sub-thread.
To fix the thread safe issue, this patch adds locking & unlocking mutex.

Change-Id: I4cd8d3a47d40fadc773775f9c6b6aa7a4000ab6e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
idlc/gen/c_proxy_body_gen_cb.h