zedraken
September 16th, 2004, 10:54 AM
Hello !
Is it possible to have a user space thread wait for an event which is sent from a driver in kernel space ? In other words, is it possible to share an event between both spaces ?
At the startup of the user space thread, I plan to create an event and when initializing the driver, I give it the address of that event so it can use it to signal the user thread that something has happened.
If it is not possible, what kind of method should I use to make the driver signaling the user space thread that something happened ?
Thanks !
Is it possible to have a user space thread wait for an event which is sent from a driver in kernel space ? In other words, is it possible to share an event between both spaces ?
At the startup of the user space thread, I plan to create an event and when initializing the driver, I give it the address of that event so it can use it to signal the user thread that something has happened.
If it is not possible, what kind of method should I use to make the driver signaling the user space thread that something happened ?
Thanks !