From: "Phil Endecott" <phil_wueww_endecott@chezphil.org>
To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: /dev/vcs - poll for changes?
Date: Fri, 17 Apr 2009 16:05:26 +0100 [thread overview]
Message-ID: <1239980726652@dmwebmail.dmwebmail.chezphil.org> (raw)
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?
Thanks for any suggestions.
Phil.
next reply other threads:[~2009-04-17 15:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-17 15:05 Phil Endecott [this message]
2009-04-18 8:11 ` /dev/vcs - poll for changes? Andi Kleen
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=1239980726652@dmwebmail.dmwebmail.chezphil.org \
--to=phil_wueww_endecott@chezphil.org \
--cc=linux-kernel@vger.kernel.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