Re: Sending Signal to a user thread from kernel

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

 



hello rizz,

thanks for replying,
can you tell me about the difference b/w sending a signal using
kill_proc_info() and using the kill_fasync() call? which one will be
faster?

On Thu, Mar 26, 2009 at 10:58 AM, Rizvan <rizzkhan@xxxxxxxxx> wrote:
> On Wed, Mar 25, 2009 at 10:17 PM, Devesh Sharma <devesh28@xxxxxxxxx> wrote:
>> Hello list,
>>
>> consider a case where a user thread is waiting for some signal, and
>> some how from my driver,
>> I got the handler of this sleeping thread is it possible to send the
>> desired signal to this sleeping
>> thread from my driver module, is it safe to do?
>>
>
> kill_proc_info(int sig, struct siginfo *info, pid_t pid)
> ( http://lxr.linux.no/linux+v2.6.29/kernel/signal.c#L1096 )
>
>
>> Thanks in advance
>> devesh
>>
>> --
>> To unsubscribe from this list: send an email with
>> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>
>>
>
>
>
> --
> Thanks
> Rizvan
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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