[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090720235514.GT5397@const.famille.thibault.fr>
Date: Tue, 21 Jul 2009 01:55:14 +0200
From: Samuel Thibault <samuel.thibault@...-lyon.org>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: linux-kernel@...r.kernel.org, linux-console@...r.kernel.org
Subject: Re: inotify on /dev/vcsa?
Alan Cox, le Tue 21 Jul 2009 00:51:08 +0100, a écrit :
> I would have thought poll() would have been cleaner. Or perhaps extending
> the VT event interface I added to the vt drivers in the current patches
> pending for 2.6.32 - poll support would probably be a bit lighter as
> you'd just need to do something like
>
> event_count++;
> wake_up(&vcsa_event_wait);
>
> and check for a count change
Sounds like a good plan indeed.
Samuel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists