LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 01-04-2008, 02:16 AM   #1
archieval
Member
 
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 282

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 06:12 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration