comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Info on task constructs/Posix thread equivalence?
Date: 1996/06/09
Date: 1996-06-09T00:00:00+00:00	[thread overview]
Message-ID: <dewar.834362928@schonberg> (raw)
In-Reply-To: 4peeng$8be@goanna.cs.rmit.EDU.AU


Dale said

"I've never come across any documents that described how Gnat
handles the mapping (and not being compiler conversant, I'm
hesitant to delve into the compiler)."

There is a printed document, but it is out of date, the current 
documenttion is in the sources (where it has a much better chance
of staying up to date).

You don't need to be compiler conversant here, we are talking about
runtime routines, which are just Ada code! Start by looking at the
s-taspri.ads and s-taspri.adb units which are the low level mapping
from GNULL (the low level interface) to Pthreads.

Note that even the binary distributions have full copies of the run time
sources, just so this is easy to do!

If you want to look at the high level interface, the easiest thing is to
run the compiler on various tasking constructs with -gnatdg, that will
show you the low level code, including the calls to the tasking runtime.





      reply	other threads:[~1996-06-09  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-09  0:00 Info on task constructs/Posix thread equivalence? Dale Stanbrough
1996-06-09  0:00 ` Robert Dewar [this message]
replies disabled

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