util: Add common thread utility 70/270170/3
authorDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 24 Jan 2022 12:35:42 +0000 (21:35 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 26 Jan 2022 09:28:12 +0000 (18:28 +0900)
commitda0d8cc1a9fb00a5ab32c501f2fe802b98eea21f
treefc318361350bd7b05a59f754a7a9d6e2b0b4af9a
parentab4e35fcaff02635e91c2f02a9f5ae2a509b22f0
util: Add common thread utility

To support multi-thread by common utility, now three types of threads
are provided as like 'daemon', 'worker', and 'timer'.

Change-Id: Ie2ac65187cab0ce9ec41a5610fc0b99d08f9e42a
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
CMakeLists.txt
include/util/thread.h [new file with mode: 0644]
src/util/thread.c [new file with mode: 0644]