Add locking and unlocking mutex
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:59 +0000 (13:50 +0900)
commit822fc0eef200f1cccbb9955d3f3eee19ffd3f445
treea6261591dbf400babbb641a238d462e9d4b648d4
parent2369121b4be18b3a03edc71c26d5980a23ee2e1b
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