LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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


Closed Thread
  Search this Thread
Old 01-10-2014, 11:50 AM   #1
jeffwang66
LQ Newbie
 
Registered: Jan 2011
Posts: 27

Rep: Reputation: 0
How to inform a user-level thread an upcoming context switch


Hi,

Within a pthread program, is there a way to write codes to explicitly check upcoming context switch behavior on this thread (e.g. check some signals sent from OS scheduler)?

Thanks,

Jef
 
Old 01-10-2014, 11:53 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Cross-posting is against the LQ rules. Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.

Continue in the other/original thread: https://www.linuxquestions.org/quest...ch-4175490834/

Reported for closure.
 
  


Closed Thread



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
How to inform a user-level thread an upcoming context switch jeffwang66 Linux - General 0 01-11-2014 07:44 PM
A flag visible on both user-level thread and linux kernel jeffwang66 Linux - General 1 01-10-2014 11:54 AM
changing thread user context in linux neel_learning_linux Linux - Newbie 3 07-31-2009 02:34 AM
How can I get the context info for a thread/process running in user mode? LostInLinux4ever Programming 1 05-23-2007 04:00 PM
Thread context switch causes lost interrupt EmbeddedSteve Linux - Kernel 1 09-01-2006 03:45 PM

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

All times are GMT -5. The time now is 07:53 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