Message passing between kernel threads using message queues
From: Lawrie Kurian (lawrie.kurian_at_gmail.com)
Date: 04/25/05
- Next message: Milind Dumbare: "N/W drivers"
- Previous message: Kasper Dupont: "Re: Allocating memory below 4G"
- Next in thread: Peter T. Breuer: "Re: Message passing between kernel threads using message queues"
- Reply: Peter T. Breuer: "Re: Message passing between kernel threads using message queues"
- Reply: Kasper Dupont: "Re: Message passing between kernel threads using message queues"
- Reply: ashish: "Re: Message passing between kernel threads using message queues"
- Reply: phil-news-nospam_at_ipal.net: "Re: Message passing between kernel threads using message queues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Apr 2005 23:08:53 -0700
Hi,
We have 2 kernel threads running. One thread1 needs to send some
information to the other thread2. The thread1 needs to update some the
part of the data in thread2 which is locked most of the time, by
thread2. So if thread1 happens to wait for the lock to be released by
thread2, it would take up lot of time.
Is there a way of passing messages between the kernel threads, through
message queues? If yes, can you please mention the interfaces, if no,
kindly suggest a solution for the above problem.
Thanks.
Lawrie.
- Next message: Milind Dumbare: "N/W drivers"
- Previous message: Kasper Dupont: "Re: Allocating memory below 4G"
- Next in thread: Peter T. Breuer: "Re: Message passing between kernel threads using message queues"
- Reply: Peter T. Breuer: "Re: Message passing between kernel threads using message queues"
- Reply: Kasper Dupont: "Re: Message passing between kernel threads using message queues"
- Reply: ashish: "Re: Message passing between kernel threads using message queues"
- Reply: phil-news-nospam_at_ipal.net: "Re: Message passing between kernel threads using message queues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|