Hello all, I've modified a device driver, so that there is a large shared memory buffer, and the device driver receives data into this. When the buffer becomes full, the driver will rotate onto the next buffer segment, and I would like to signal this to the user process which is reading from the shared buffer, using a semaphore. So, my question is, can you use semaphores to communicate from kernel device drivers, with user-space processes, and does anyone have an example? Also can these functions be called from an interrupt routine (non-blocking obviously)? IE set a semaphore. Many thanks, Ed -- Registered Office: Roke Manor Research Ltd, Siemens House, Oldbury, Bracknell, Berkshire. RG12 8FZ The information contained in this e-mail and any attachments is confidential to Roke Manor Research Ltd and must not be passed to any third party without permission. This communication is for information only and shall not create or change any contractual relationship. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/