From: simon@pogner.demon.co.uk (Simon Wright)
Subject: Re: Threads on DEC Ada for Alpha
Date: 1996/06/29
Date: 1996-06-29T00:00:00+00:00 [thread overview]
Message-ID: <SIMON.96Jun29161339@pogner.demon.co.uk> (raw)
In-Reply-To: 31D28A2D.4C75B287@swthom.enet.dec.com
In article <31D28A2D.4C75B287@swthom.enet.dec.com> Thierry Lelegard <lelegard@swthom.enet.dec.com> writes:
> On Digital UNIX (new name for DEC OSF/1 :-), the Ada tasks are POSIX threads.
> Each Ada task is mapped on one thread. Each time a task is created, the Ada
> runtime creates one pthread. So, using pthreads with Ada is natural.
>
> If your software is written in Ada, you have to convert the multi-process
> structure in multi-task structure (purely Ada, without pthread programming).
> There should be no use for explicit calls to pthreads.
A colleague wasted a _lot_ of time by trying to use Solaris threads
explicitly with SunSoft Ada (Verdix). When he used the features of Ada
(well, actually extensions) designed to hide threads -- specifically,
passive tasks instead of mutexes -- his troubles evaporated.
On a related topic, I see that the "pthreads" in DEC Unix aren't the
same as the "pthreads" used in glibc (from Chris Provenzano) and which
support tasking in GNAT for Linux. However, pthreads-1_60_beta5 builds
and (nearly) works on DEC Unix 3.2 -- not on OSF/1 V3 -- _interesting_
_developments_ are possible! I plan to look into this when the DU 3.2
box gets back from last week's show.
--
Simon Wright Work Email: simon.j.wright@gecm.com
Ferranti Naval Systems Voice: +44(0)1705-701778
GEC-Marconi S3I Combat Systems Division FAX: +44(0)1705-701800
next prev parent reply other threads:[~1996-06-29 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-24 0:00 Threads on DEC Ada for Alpha Marc Peters
1996-06-27 0:00 ` Thierry Lelegard
1996-06-29 0:00 ` Simon Wright [this message]
1996-07-02 0:00 ` Thierry Lelegard
1996-07-06 0:00 ` Simon Wright
1996-07-06 0:00 ` Robert Dewar
1996-07-09 0:00 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox