// JP opened flex table

Click to See Complete Forum and Search --> : Event shared between kernel and user space


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 !

janisdz
September 23rd, 2004, 10:30 AM
It is possible even in both ways.
You can wait for kernel event in user space
You can wait for user event in kernel space
Here is one link on this, but there are more out there.
http://www.microsoft.com/msj/0799/nerd/nerd0799.aspx

zedraken
September 29th, 2004, 09:23 AM
Thanks a lot !

//JP added flex table