mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <ppunnam@kent.edu>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: send_sigqueue problem..
Date: Wed, 02 Nov 2005 17:11:19 -0500	[thread overview]
Message-ID: <1932830193449a.193449a1932830@kent.edu> (raw)


Hi guys,

i am trying to use the linux signaling to signal a user process from 
the kernel..
i require a reliable(without any signal loss) and fast signaling 
mechanism.
i tried to use the send_sigqueue to send the signals...here what i did

1) creted the sigqueue structure using the sigqueue_alloc()..
2) called the send_sigqueue() function...
it worked fine for some time(around 1000 sig) but after that 
sigqueue_alloc failing..may be becuse of not enough memory  available 
to allocate sigqueue..
i got few question about this..

1) does sigqueue structure need to be removed explisitly or it will be 
autometically cleared after the signal delivery (i did't used the 
sigqueue_free() becuse i dont know when the signal is deliverd).
2)there is any another way i can implement such a signaling mechanism.

i will be thankful for your help...

-prady

 

             reply	other threads:[~2005-11-02 22:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02 22:11 ppunnam [this message]
2005-11-03  0:57 ` Fawad Lateef

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=1932830193449a.193449a1932830@kent.edu \
    --to=ppunnam@kent.edu \
    --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

all inboxes | Powered by JetHome®