For my work I need to write a kernel module that would run in two separate threads
. One will enqueue and dequeue data and other will free the queue if no data is enqueued or dequeued for a certain amount of time. But because of being new to kernel module programming I don't know how to write multithreaded kernel module and how to use functions like <time.h
> in standard C. I need some help in this regard. Tutorial links will but if anyone can figure me the way out to do these two tasks then it will be best.
Thanks in advance.