All of lore.kernel.org
 help / color / mirror / Atom feed
From: wael showair <showair2003@yahoo.com>
To: linuxppc-dev@ozlabs.org
Subject: how can i send real-time signal?
Date: Fri, 5 Jun 2009 10:41:56 -0700 (PDT)	[thread overview]
Message-ID: <23892580.post@talk.nabble.com> (raw)


Hi All,
i m using linux-kernel 2.6.27 & a board of MPC8555 processor.
i have also DSP-core on the same board.

My aim is : Each time the DSP-core interrupts the MPC8555 processor, a
process in the user space will be informed by the arrival of this each
interrupt.

So i decided to use sw signals, in the ISR of the DSP-core interrupt i send
a SW signal to the user space process? Is this the best solution? are there
any better suggestion to achieve my aim? 

i used the kernel API send_sig_info because i want to send information with
the sent signal & my signal type was SIGUSR1

i could receive the SW signal successfully but i found out that the standard
SW signals are not queued if they r in the pending queue of the user space
process but the real-time signals do.
so i changed the type of the signal to SIGRTMIN but unfortunately i could
receive any SW signal from my ISR & i noticed that always the second
interrupt causes a kernel panic

so am i using the correct signal type?
am i using the correct kernel API to send a real-time SW signal?

plz help 
-- 
View this message in context: http://www.nabble.com/how-can-i-send-real-time-signal--tp23892580p23892580.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

             reply	other threads:[~2009-06-05 17:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-05 17:41 wael showair [this message]
2009-06-06 20:51 ` how can i send real-time signal? Benedikt Spranger
2009-06-07  0:33 ` wael showair

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=23892580.post@talk.nabble.com \
    --to=showair2003@yahoo.com \
    --cc=linuxppc-dev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.