Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Can Tru64 unix support SCHED_FIFO and SCHED_OTHER simultaneously?
@ 2002-01-08  8:17 Barry Wu
  2002-01-08 13:32 ` David Butenhof
  0 siblings, 1 reply; 2+ messages in thread
From: Barry Wu @ 2002-01-08  8:17 UTC (permalink / raw)


Hi, all,

I am new to this newsgroup. Now I meet problem about Tru64 realtime.
Can Tru64 support SCHED_FIFO and SCHED_OTHER simulataneously?
If so, please give me a reply. Thanks in advance!

Barry


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can Tru64 unix support SCHED_FIFO and SCHED_OTHER simultaneously?
  2002-01-08  8:17 Can Tru64 unix support SCHED_FIFO and SCHED_OTHER simultaneously? Barry Wu
@ 2002-01-08 13:32 ` David Butenhof
  0 siblings, 0 replies; 2+ messages in thread
From: David Butenhof @ 2002-01-08 13:32 UTC (permalink / raw)


Barry Wu wrote:

> I am new to this newsgroup. Now I meet problem about Tru64 realtime.
> Can Tru64 support SCHED_FIFO and SCHED_OTHER simulataneously?
> If so, please give me a reply. Thanks in advance!

Of course. Any system can. On the other hand, the BEHAVIOR of this is 
completely undefined by the standard and may vary wildly from one system to 
another. (That's simply because the standard says absolutely nothing about 
what SCHED_OTHER is or does, much less how it interacts with the specified 
policies.)

On Tru64 UNIX, SCHED_OTHER means "prioritized timeshare". The 
sched_priority member of struct sched_params is used as a "base priority", 
from which the thread's priority may be dynamically modified by the 
scheduler. All threads are scheduled purely on the basis of priority, as 
required by POSIX. The policy affects only whether the thread can preempt a 
lower priority thread when made ready (SCHED_RR and SCHED_FIFO do, 
SCHED_OTHER does not), and whether wakeups occur in priority order (again, 
SCHED_FIFO and SCHED_RR do, SCHED_OTHER generally does not).

/------------------[ David.Butenhof@compaq.com ]------------------\
| Compaq Computer Corporation              POSIX Thread Architect |
|     My book: http://www.awl.com/cseng/titles/0-201-63392-2/     |
\-----[ http://home.earthlink.net/~anneart/family/dave.html ]-----/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-08 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-08  8:17 Can Tru64 unix support SCHED_FIFO and SCHED_OTHER simultaneously? Barry Wu
2002-01-08 13:32 ` David Butenhof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox