Can someone point me in the right direction on how to implement kernel threads for a producer consumer scenario? Also if someone could show me how to use kernel's doubly linked list (bounded buffer) in the implementation of this example.
I so far understand how to initialize and use the pthreads, and mutexes for the synchronization of the program, but I cant seem to figure out how to do it with kernel threads.
The prog lang. im using is C