Messages in this thread | | | Subject | Re: How to notify a user process from within a driver | From | Alan Cox <> | Date | 01 May 2003 20:09:29 +0100 |
| |
On Iau, 2003-05-01 at 20:23, Lee, Shuyu wrote: > Hello, All. > > I am working on a device driver. One of the features of the hardware is > multi-channel I/O control. In order for a user process to communicate with > the hardware, my design is for the user process to call the driver's ioctl > to register a semaphore for each I/O channel,
For event waiting look at poll/select not at the SYS5 semaphore stuff which is really an old compat hack for weird stuff AT&T did years ago.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |