Re: Signals in linux 2.4.18

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

 



On Thu, Oct 03, 2002 at 12:30:46PM +0530, Anjaneyulu wrote:
[anj, your emails would be easier to read if you wrapped your line at 72
characters]

> I would like to know how to pass some information to the user process
> when I am raising a signal from kernel space.

Have your signal handler in your user process set a flag, informing your
user process's main loop to read a /proc/ file, sysctl, ioctl, character
device, etc, when it next has a chance.

Traditional unix signals cannot send more than just their number to a
process. POSIX Realtime signals can send more data, but I am not clear
the level of POSIX realtime signal support in the linux kernel.
(O'Reilly has a very nice book on realtime programming, released perhaps
1994..)

-- 
http://www.wirex.com/

Attachment: pgp00170.pgp
Description: PGP signature


[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