lkml.org 
[lkml]   [2011]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: intercommunications between Linux kernel modules
    On Thu, 6 Oct 2011, Cyclonus J wrote:

    > Yes, it is multi-threaded. I have two kernel modules and each of them will
    > create its own kernel thread just for communication purpose (message passing).
    >
    > Do you know if there is any message primitves I can use to achieve this inside
    > kernel?

    F.e. Use the lockless lists in linux/include/llist.h?

    Anything else will work too. Just declare a variable and access it from
    both threads.



    \
     
     \ /
      Last update: 2011-10-07 19:43    [W:0.021 / U:0.420 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site