[Ilugc] Help Needed
Sangharsha p g
sangulinux at rediffmail.com
Fri Jun 18 12:03:00 IST 2004
An HTML attachment was scrubbed...
-------------- next part --------------
I am not very sure how to create user defined signal what U have asked.But looking at the purpose what U are trying I would suggest you to use semaphores, if it is in kernel space , U can use kernel semaphores in a much easier way.
On Fri, 18 Jun 2004 Bharathi S wrote :
>On Thu, 17 Jun 2004, Balaji G wrote:
> > 1.How do i create an user defined signal in Unix/Linux?
>Already 2 Signal are allocated for the user defined
>operation. Read man 7 signal. SIGUSR1 and 2
> > 2. After Creation of user defined signal (Assume Ctrl + A)
>Ctrl + A is NOT a signal. But you can genate a signal
>whereever Ctrl+A Pressed.
> > Assume There are 2 processes running Process A and Process
> > B. Now this user defined signal (Ctrl + A) should be
> > triggered automatically (by some mechanism. example
> > completion of a loop) so once this signal gets triggered.
> > This signal should be redirected to Process B.
>kill( pidOfB, SIGUSR1 )
>To unsubscribe, email ilugc-request at ae.iitm.ac.in with
>"unsubscribe <password> address"
>in the subject or body of the message.
More information about the ilugc