Re: Inter Module communication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Gaurav,

Thanks for your prompt reply. Is there any inbuilt kernel mechanism like
pipes etc.. to provide communication between to Modules(not two processes).
I think if two modules are accessing the same data structure we need some
sort of synchronization. what kind of synchronization shall i use . pls give
a brief idea about it.

Regards

Rakesh
----- Original Message -----
From: "Dhiman, Gaurav" <Gaurav.Dhiman@xxxxxx>
To: "Rakesh Jagota" <j.rakesh@xxxxxxxxxxxxx>
Cc: <kernelnewbies@xxxxxxxxxxxx>
Sent: Thursday, September 30, 2004 9:08 PM
Subject: RE: Inter Module communication



Your modules can make use of symbols (global variable and function names
defined in module) exported by other modules. If you have two module and
you want to make a communication between them, export few of the symbols
of your modules so that they can be referred in your other modules and
can make a communication thru it.

Remember, symbols you exported will also be visible to all other
modules, which might not be of yours, any other module can make use of
it or can change it.

Cheers !!

Gaurav



-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Rakesh Jagota
Sent: Thursday, September 30, 2004 4:35 PM
To: kernelnewbies@xxxxxxxxxxxx
Subject: Inter Module communication

Hi all,

I have 2 modules and i would like to know any Inter module comm.
mechanism
is present in kernel modular programming.
I know this is present at user level.

-Pipe/messages Queues/fifos/shared memory.

Thanks

Rakesh


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux