LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-30-2006, 09:02 AM   #1
asurya
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
difference between set_cpus_allowed() and sched_setaffinity()


difference between set_cpus_allowed() and sched_setaffinity()

Last edited by asurya; 11-30-2006 at 11:00 PM.
 
Old 12-01-2006, 09:52 PM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
the way i understand it is set_cpus_allowed() that is the concept of cpus_allowed
has been a long standing internal kernel space interface to cpu bitmask.
used by the scheduler in sched.c define in /linux/sched.h

the new syscall sched_setaffinity() is in <sched.c> not /linux/schedule.c
which implies it is to be used from user space i think.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between c and c++ nimra Programming 16 05-28-2004 01:55 AM
What is the difference? swmok Debian 1 04-22-2004 09:21 AM
what is the difference shanenin Linux - Software 4 10-24-2003 09:14 AM
What is the difference? drewski *BSD 5 05-21-2003 03:13 PM
What's the Difference New2Linux1978 Linux - Newbie 4 05-14-2003 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:08 PM.

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