Re: Asynchronous CDROM Events in Userland

From: H. Peter Anvin (hpa@zytor.com)
Date: Mon Feb 04 2002 - 23:28:46 EST


Stevie O wrote:

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

Does it spin up the CD-ROM doing so?

        -hpa

-
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