utils_gthread: Add new functions to pause/continue thread
tpl_gthread_wait_idle
- Create a new idle source and attach it to thread context.
This function will be blocked until idle callback is called.
If the thread has some worksto be handled, wait for
the thread to finish it.
tpl_gthread_pause_in_idle
- Pause the thread when idle callback is called.
tpl_gthread_continue
- Continue the paused thread.
Change-Id: I5a2aaf3b8b9579306246234d252b643b6cc0bf3e
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>