From: Jeff Denham <jdenham@brighttiger.com>
Subject: Re: Threads under Digital OSF 4.0d
Date: 1998/03/17 [thread overview]
Message-ID: <350ED209.9B44F5D2@brighttiger.com> (raw)
In-Reply-To: 350E8A67.4EB0@gsfc.nasa.gov
Stephen Leake wrote:
> Rob Kirkbride wrote (in small part:
> > The problem is you don't seem to
> > be able to use realtime priorities any more from Ada as it assumes
> > process scope when creating the threads which is a little annoying to
> > have this changed on us. I realise in C you can change this option.
>
> If you can change it in C, you can change it in Ada; just import the
> routine and call it! If you have to call it before the Ada environment
> task is created, then you'll have to write a main wrapper in C that
> calls the Ada elaboration and finalization code. Either way, it should
> be doable.
>
> --
> - Stephe
Just a reminder -- in Digital UNIX 4.0-4.0C, all pthreads
are process-scope threads. The only exception is for programs linked
statically on pre-V4.0 versions of the OS. Only in V4.0D was
system-contention scope (re)introduced. So, for a system
scope (bound) thread, the priority/policy changes will again affect the
thread's systemwide scheduling behavior.
If you're not doing realtime, you should stick with
process-scope threads (right, Dave?).
Jeff
__________________________________________________
Jeff Denham (jdenham@brighttiger.com)
Bright Tiger Technologies
SmartCluster� Software for Distributed Web Servers
http://www.brighttiger.com
125 Nagog Park
Acton, MA 01720
Phone: (978) 263-5455 x177
Fax: (978) 263-5547
next prev parent reply other threads:[~1998-03-17 5:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-10 5:00 Threads under Digital OSF 4.0d Rob Kirkbride
1998-03-12 5:00 ` Dave Butenhof
1998-03-12 5:00 ` Rob Kirkbride
1998-03-17 5:00 ` Stephen Leake
1998-03-17 5:00 ` Jeff Denham [this message]
1998-03-19 5:00 ` Dave Butenhof
1998-03-12 5:00 ` Dale Stanbrough
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox