projects
/
platform
/
core
/
uifw
/
libtpl-egl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
614de9a
)
utils_gthread: Add missed initializing paused flag
71/284971/1
author
Joonbum Ko
<joonbum.ko@samsung.com>
Fri, 2 Dec 2022 01:51:23 +0000
(10:51 +0900)
committer
Joonbum Ko
<joonbum.ko@samsung.com>
Fri, 2 Dec 2022 01:51:30 +0000
(10:51 +0900)
This missed line can cause deadlock issue.
Change-Id: I8d098e79010133dec4d7cc2cec071213cd02ec1a
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_utils_gthread.c
patch
|
blob
|
history
diff --git
a/src/tpl_utils_gthread.c
b/src/tpl_utils_gthread.c
index
b3e48ef
..
208d881
100644
(file)
--- a/
src/tpl_utils_gthread.c
+++ b/
src/tpl_utils_gthread.c
@@
-548,5
+548,6
@@
tpl_gthread_continue(tpl_gthread *gthread)
TPL_CHECK_ON_NULL_RETURN(gthread);
if (!gthread->paused) return;
+ gthread->paused = TPL_FALSE;
g_mutex_unlock(>hread->pause_mutex);
}
\ No newline at end of file