[lkml]   [2011]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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.019 / U:4.520 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site