[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ocuuqt33.fsf@basil.nowhere.org>
Date: Sat, 18 Apr 2009 10:11:44 +0200
From: Andi Kleen <andi@...stfloor.org>
To: "Phil Endecott" <phil_wueww_endecott@...zphil.org>
Cc: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: Re: /dev/vcs - poll for changes?
"Phil Endecott" <phil_wueww_endecott@...zphil.org> writes:
> Dear Experts,
>
> Is there a way to detect when the content of a /dev/vcs* has changed?
> I have some code that currently polls, which is obviously sub-optimal.
> I was hoping that there would be some trick like look at the
> modification time, but I haven't found anything. If this isn't
> currently possible, how easily could it be added? What would the
> preferred API be, if it were added?
The first question would be: why do you want to do this?
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
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