[lkml]   [2003]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectkill_fasync usage

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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.024 / U:4.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site