Messages in this thread | | | Date | Fri, 26 Feb 1999 16:43:22 -0530 (IST) | From | G Jalaja Devi <> | Subject | Linux Driver - Select Implementation! |
| |
When multiple applications issue a select on the same device (driver), Is there any way to notify only one of the application from the driver?
For ex. Application0 Application1 fd0 = open("/dev/dev1"); fd1 = open("/dev/dev1"); select(fd0, ..); select(fd1,...)
----------------- Kernel space
static int select(struct inode *inode, struct file *filep) { interruptible_sleep_on(&wq); }
When I do a wake_up on the "wq", how *only Application0* can be notified? (Application0 should not be notified);
Thanks, jalaja
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |