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    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site