projects
/
platform
/
core
/
multimedia
/
mmsvc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b697eb8
)
Make the thread detached to avoid zombie thread
14/173914/2
submit/tizen/20180330.014028
author
YoungHun Kim
<yh8004.kim@samsung.com>
Mon, 26 Mar 2018 06:06:05 +0000
(15:06 +0900)
committer
YoungHun Kim
<yh8004.kim@samsung.com>
Thu, 29 Mar 2018 06:48:08 +0000
(15:48 +0900)
Change-Id: I83f07addecb71e80cffb04af01fa33dc01f47666
server/src/muse_server_workqueue.c
patch
|
blob
|
history
diff --git
a/server/src/muse_server_workqueue.c
b/server/src/muse_server_workqueue.c
index
d06a58f
..
a704f25
100644
(file)
--- a/
server/src/muse_server_workqueue.c
+++ b/
server/src/muse_server_workqueue.c
@@
-86,6
+86,10
@@
void ms_workqueue_init(ms_workqueue_t *workqueue)
free(worker);
return;
}
+
+ /* Make the thread detached */
+ (void)pthread_detach(worker->thread);
+
LL_ADD(worker, worker->workqueue->workers);
}