Re: Asynchronous CDROM Events in Userland

From: Stevie O (stevie@qrpff.net)
Date: Mon Feb 04 2002 - 23:04:50 EST


At 09:07 PM 2/3/2002 -0800, H. Peter Anvin wrote:
>Rather than a signal, it should be a file descriptor of some sort, so
>one can select() etc on it. Personally I can't imagine polling would
>take any appreciable amount of resources, though.

Windows 95 polls the cd-rom drive for autorun.

It kills laptop batteries REAL quick.

CPU & memory aren't the only resources...

--
Stevie-O

Real programmers use COPY CON PROGRAM.EXE

- 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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:40 EST