🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #826

Re: POSIX threads & Linux, priorities doesn't seem to work.

#826
From: Dave Uhring
Date: Wed, 30 May 2001 02:44
22 lines
1777 bytes
Vincent wrote:

> Hello!
> 
> I wrote a POSIX application using Linux(2.4) & QNX.
> 
> There are 2 threads with the following params :
> *T1 with SCHED_FIFO & priority == N
> *T2 with SCHED_FIFO & priority == N+1
> 
> with QNX everything runs perfect, but with Linux, it seems that priorities
> are not taken into account (T2 is preemted by T1).
> 
> PS : With Linux I run the app with root privileges as required.
> 
> Any idea?
> 
> Thank you
> 
> Vincent

man nice
Technical Details
Message-ID: <th8nkhrvegvce6@corp.supernews.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <9f0juc$mke$1@front2m.grolier.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c696,c8583ade1f63f031
X-Google-Attributes: gid10c696,public
X-Google-Thread: fb1fd,c8583ade1f63f031
X-Google-Attributes: gidfb1fd,public
X-Google-Thread: 100c5f,c8583ade1f63f031
X-Google-Attributes: gid100c5f,public
X-Google-Thread: faa64,c8583ade1f63f031
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 100a19,c8583ade1f63f031
X-Google-Attributes: gid100a19,public
X-Google-ArrivalTime: 2001-05-29 19:45:15 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: Dave Uhring <dmuhring@my-deja.com>
Newsgroups: alt.linux,alt.os.linux,be.comp.os.linux,comp.os.linux.development.apps,comp.os.linux.portable
Subject: Re: POSIX threads & Linux, priorities doesn't seem to work.
Followup-To: alt.linux
Date: Tue, 29 May 2001 21:44:33 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <th8nkhrvegvce6@corp.supernews.com>
References: <9f0juc$mke$1@front2m.grolier.fr>
User-Agent: KNode/0.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Complaints-To: newsabuse@supernews.com
Lines: 23