util: thread: Support free function for destorying queue 66/271766/2 accepted/tizen/unified/20220302.131908 submit/tizen/20220302.025412 submit/tizen/20220302.031108
authorDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 28 Feb 2022 09:02:10 +0000 (18:02 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 28 Feb 2022 10:02:07 +0000 (19:02 +0900)
commit0b850329ce67e3059557625343824e64d8648b6c
tree63b581eb940591e58f079a21024a41a1e4b8c741
parentf04876dfced39bf68e11ae0b04fef85da3a652dc
util: thread: Support free function for destorying queue

Since lock-free queue can have various data type, users can pass free
function when creating queue along with the corresponding data type in
queue.

Change-Id: I4ede38bd6e36a1622bb39c7183829c5372e3264b
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
include/util/queue.h
src/monitor/monitor-thread.c
src/util/queue.c