Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 06-24-2005, 02:41 PM   #1
LQ Newbie
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
scheduling thread gives error


I am writing multi-threaded application on linux. I need to set the thead scheduling policy to SCHED_FIFO, when i try to set up policy as part of thread creation (passing attr in pthread_create call), i get error. It complains that my process does not hav superuser privileges.

How do i set super user priveleges for the process before i set up scheduling policy for threads

Old 06-24-2005, 02:54 PM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Run it as root.


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
Another GRUB error 17 thread Navyblue Linux - Newbie 3 10-10-2005 09:04 PM
Need FIFO thread scheduling policy enigma82 Programming 0 04-20-2005 08:35 AM
MySql Thread error on startup Biggen Linux - Software 9 09-30-2004 09:05 AM
Main thread sending notification to child thread rajesh_b Programming 1 09-22-2004 10:15 AM
gnome 2.6 gtk thread locks error???? DaVenom Slackware 3 05-31-2004 07:42 AM > Forums > Non-*NIX Forums > Programming

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

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