From: Andi Kleen <andi@firstfloor.org>
To: "Phil Endecott" <phil_wueww_endecott@chezphil.org>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: /dev/vcs - poll for changes?
Date: Sat, 18 Apr 2009 10:11:44 +0200 [thread overview]
Message-ID: <87ocuuqt33.fsf@basil.nowhere.org> (raw)
In-Reply-To: <1239980726652@dmwebmail.dmwebmail.chezphil.org> (Phil Endecott's message of "Fri, 17 Apr 2009 16:05:26 +0100")
"Phil Endecott" <phil_wueww_endecott@chezphil.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@linux.intel.com -- Speaking for myself only.
prev parent reply other threads:[~2009-04-18 8:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-17 15:05 /dev/vcs - poll for changes? Phil Endecott
2009-04-18 8:11 ` Andi Kleen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ocuuqt33.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phil_wueww_endecott@chezphil.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox