From: David Bruce <dbruce@ll.mit.edu>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Question regarding Interrupt "delivery" to user mode process
Date: Mon, 28 Mar 2005 11:29:07 -0500 [thread overview]
Message-ID: <424830D3.4020000@ll.mit.edu> (raw)
In-Reply-To: <20050325221320.004DC67AB2@ozlabs.org>
The below link contain code snippets that process SONET events via an
interrupt. Basically an user space application waits on an ioctl call
for events that are queued. These events are queued via a kernel thread
that waits on a wait_event_interruptible call. When an interupt happens
the thread processes the events, timestamps them and puts a message on a
queue.
There is other code that is left out the starts the thread. If you are
interested...ask.
http://www.geocities.com/dbruce_01721/event.c
next parent reply other threads:[~2005-03-28 16:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050325221320.004DC67AB2@ozlabs.org>
2005-03-28 16:29 ` David Bruce [this message]
2005-03-25 17:19 Question regarding Interrupt "delivery" to user mode process Stephen Warren
-- strict thread matches above, loose matches on Subject: below --
2005-03-25 16:58 Caruso, Nick
2005-03-25 17:40 ` Tolunay Orkun
2005-03-25 18:31 ` Eugene Surovegin
2005-03-25 19:42 ` Tolunay Orkun
2005-03-25 20:05 ` Tolunay Orkun
2005-03-25 20:37 ` Eugene Surovegin
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=424830D3.4020000@ll.mit.edu \
--to=dbruce@ll.mit.edu \
--cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).