LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-04-2008, 02:16 AM   #1
archieval
Member
 
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Rep: Reputation: 41
Why kill_fasync() in rtc.c?


Hi everyone,

I got a couple of questions here.

1) In the file /usr/src/linux/drivers/char/rtc.c:
Why is it that kill_fasync() is used mostly in this file for signal delivery? Why not use send_sig() or any other signal delivery functions?

2) I am going to send a signal from kernel space, and in the end of an interrupt context. After the signal is sent, the process resumes execution in the user space. Is there a difference if I use send_sig() over kill_fasync()?

Thanks!
-archie
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with rtc rogerscuall Linux - Software 0 08-09-2007 10:40 AM
Genrtc and rtc FlashHarry Linux - Newbie 3 06-24-2006 03:38 PM
Proc-rtc HeatSeaker Linux - Software 3 10-31-2004 08:50 AM
How to read the RTC ? oskernel Programming 3 10-17-2003 07:38 AM
Two problems again.. Printer and RTC NSKL Slackware 4 08-14-2002 10:26 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration