Re: Kernel Message Queues

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

 



On 9/2/05, Sarthak Ray <Sray@xxxxxxxxxxxxxxxx> wrote:
> 
> I want to use message-queues in a Linux kernel module (v2.6.12.5). However,
> I am unable to find any exported APIs for using message-queues in
> kernel-space. 
> 
> In ipc/msg.c file, I see some message-queue functions implemented such as
> sys_msgrcv(), sys_msgsnd(), etc. 
> 
> However, these functions are not exported for use in kernel modules. Also,
> they seem to be implemented for servicing user-space message-queue requests.
> 
> I would appreciate any pointers towards equivalent message-queue APIs for
> kernel-space. 
> 

Why you want to use message-queues in kernel ?? for different
processes/modules to communication ??? If so then you can do this by
calling functions from one module/process to other module/process or
through memory sharing etc .... b/c in kernel each module/process when
loaded becomes the part of the kernel and they can interact with each
other through function calling ....

There might be some way of implementing msg-queues in kernel but I
havn't found any till now and don't know abt that !!!!!

-- 
Fawad Lateef

--
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