how to identify process in kernel read func without using current->pid

Posted by yoavstr on Stack Overflow See other posts from Stack Overflow or by yoavstr
Published on 2010-06-07T21:17:13Z Indexed on 2010/06/07 21:22 UTC
Read the original article Hit count: 159

Filed under:
|
|

my lecture wants us to build module where we need to identify each read process and where the same read process called twice on the same writer massage we should insert him to an queue who's we wake up when all readers have read I achieved this goal by by using list of pid's and boolean read/not_read inside each node but he decided to be nasty and require us to it with some argument from FILE struct can you please help me ?....

© Stack Overflow or respective owner

Related posts about unix

Related posts about linux-kernel