LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-21-2006, 01:58 AM   #1
amit_bst
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Signaling mechanism in Kernel Thread in kernel 2.6 and 2.4


Hi,
I want to know about signalining mechanism in kernel 2.6 and 2.4 for kernel thread.
1. Can we register singal handler separately for each kernel thread?

2. Can we perform "lock" and "unlock" operations in signal handler in kernel thread? if not then why?

With regards,

Amit
 
Old 07-21-2006, 05:40 AM   #2
IceChant
Member
 
Registered: Jan 2006
Location: Israel
Distribution: Windows Xp, Slackware
Posts: 316
Blog Entries: 3

Rep: Reputation: 30
This isn't the right forum for this topic use report and ask mod to move it.
 
Old 07-21-2006, 10:25 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
Moved: This thread is more suitable in Linux-Kernel and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 07-24-2006, 11:21 PM   #4
rick.2g
Member
 
Registered: Sep 2005
Posts: 41

Rep: Reputation: 15
well... the signaling isn't really dependent on locking, per se... the only restriction is that you don't want to lock when you could be sleeping. And this depends on what kind of locks you're using.
This is a decent primer on threads, which covers some signal topics. Hope it helps.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
signaling the user process from kernel Pradeep reddy Linux - General 2 11-01-2005 11:36 AM
kernel thread and blocking calls asurya Linux - General 1 09-23-2005 12:15 AM
kernel thread yhus Programming 2 08-04-2005 05:30 PM
what advantage do kernel thread has over process? keiwu Linux - Newbie 3 03-04-2005 05:04 PM
obtain pid of a kernel thread ratwings Linux - Software 0 02-11-2005 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration