mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: no_spam@ntlworld.com
To: linux-kernel@vger.kernel.org
Subject: kill_fasync usage
Date: Tue, 4 Mar 2003 20:08:16 +0000	[thread overview]
Message-ID: <200303042008.16839.no_spam@ntlworld.com> (raw)


Dear list, 

quick advice please,

I wnat to use kill_fasync(struct fasync_struct *PTR,...) to notify userland of 
events.  Can I just call kill_fasync regardless of the state of PTR or does 
PTR actually have to point to something valid.  

In my code PTR=NULL initially and may or may not be set or unset during use. I 
would like to know if I can call kill_fasync without testing what is in PTR.  
If I have to test what would PTR be if there isn't anything in the queue?
If I can't test PTR how can I find out from the arguments to my fasync method 
if I am adding (or removing) processes from the list?

Thanks SA 

             reply	other threads:[~2003-03-04 19:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-04 20:08 no_spam [this message]
2003-03-04 21:02 Manfred Spraul

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=200303042008.16839.no_spam@ntlworld.com \
    --to=no_spam@ntlworld.com \
    --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®