Re: Kernelspace to Userspace message passing
From: Pete Zaitcev (zaitcev_at_yahoo.com)
Date: 07/14/03
- Next message: Johnny Choque: "Re: Kernelspace to Userspace message passing"
- Previous message: Neil Horman: "Re: Kernelspace to Userspace message passing"
- In reply to: Johnny Choque: "Kernelspace to Userspace message passing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Jul 2003 17:33:57 GMT
On Mon, 14 Jul 2003 13:03:32 +0200, Johnny Choque wrote:
> Now one alternative would be that the app polls the kernel
> using IOCTLs
> to see if any message is waiting. How can I avoid that and send a message
> directly to userspace from kernelspace as in a callback or signal?
You cannot. Fork a thread and make it blocking in the
polling ioctl to avoid spinning.
-- Pete
- Next message: Johnny Choque: "Re: Kernelspace to Userspace message passing"
- Previous message: Neil Horman: "Re: Kernelspace to Userspace message passing"
- In reply to: Johnny Choque: "Kernelspace to Userspace message passing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|