RE: Asynchronous notification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try this. 
  "send_sig(SIGUSR1/SIGUSR2, find_task_by_pid(pid),0);"
   http://lxr.linux.no/source/kernel/signal.c#L1249
Not sure if this is the best way to do it or if there are other ways.

-vikas


--------------------------------------------------------
This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments.  Please notify the sender immediately by reply e-mail and delete the e-mail from your system.


-----Original Message-----

From: kernelnewbies-bounce@xxxxxxxxxxxx
[mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Ayyappan H
Sent: Wednesday, August 17, 2005 2:53 AM
To: kernelnewbies@xxxxxxxxxxxx
Subject: Asynchronous notification

hai ,
   Can anyone list what are the ways available to send
signal or indication to kernel space asychronously to
user space.
 I had to send around 5 or 6 indication to user
asynchronously .Using kill_fasync,it is possible to
send only SIGIO signal which will solve only one
indication.In this case what shall I do??
   If 3 or 4 process running in user space,how to send
to specific process ie., If iam sending a signal to
user space having two or more process running,which
process will receive that signal??

Rgds
H.Ayyappan


	

	
		
____________________________________________________
Send a rakhi to your brother, buy gifts and win attractive prizes. Log
on to http://in.promos.yahoo.com/rakhi/index.html

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux