The purpose of calling init_waitqueue_head()
Feb. 22, 2014
6:03 a.m.
Hi, I am trying to understanding a linux driver code here: https://android.googlesource.com/kernel/exynos/+/a6a1de6334417e0800440cdf971... In here https://android.googlesource.com/kernel/exynos/+/a6a1de6334417e0800440cdf971..., it calls 'init_waitqueue_head() where wq is a "wait_queue_head_t wq;" mutex_init(&ctrl->lock); init_waitqueue_head(&ctrl->wq); But I search the whole directory for wq usage, I don't find anywhere wq is used. Can you please tell me what is the purpose of calling "init_waitqueue_head"? Thank you.
4556
Age (days ago)
4556
Last active (days ago)
0 comments
1 participants
participants (1)
-
m silverstri