From: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: Rational APEX Ada95 w/ X11R6
Date: 1999/06/16
Date: 1999-06-16T00:00:00+00:00 [thread overview]
Message-ID: <m3so7spj4t.fsf@mheaney.ni.net> (raw)
In-Reply-To: 7k6cr9$qk$1@nnrp1.deja.com
On 15 Jun 1999 20:25, dennison@telepath.com wrote:
> In article <929466176.893.35@news.remarQ.com>,
> "Brian Kelly" <Brian.Kelly@TVL2000.com> wrote:
> > Has anyone programmed using Rational's Ada95 compiler and X11R6?
> >
> > If so, have you come up w/ any concurrency issues/problems?
> >
> > I'm currently looking into the feasability of putting these two
> products
> > together for future products.
>
> More specifics would help.
I think he is refering to the fact that in R6, you can run the X main
loop inside its own thread.
How do you do this in Ada95? In other words, how can you run the X main
loop inside its own Ada task?
Does R6 specify what kind of thread runs the main loop? I thought it
specified a "Posix thread." If so, how do you guarantee that an Ada
task maps to a Posix thread?
> For instance, you will need bindings to X.
No. All the C calls to X/Motif can be done by a thin C layer, called by
a high-level infrastructure written in Ada95. There's no need for Ada
bindings to the toolkit directly.
> Some very literal (or "thin") bindings are available, as are some
> thicker ones that do nifty things like synchornize access so that the
> calls are task-safe.
Stay away from thick bindings that "synchronize access so that calls are
task-safe." This doesn't work. Stay away from thick bindings. Stay
away from bindings.
> But what's available to you depends on your compiler/OS combination.
This is a restatement of the original question.
next prev parent reply other threads:[~1999-06-16 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-15 0:00 Rational APEX Ada95 w/ X11R6 Brian Kelly
1999-06-15 0:00 ` dennison
1999-06-16 0:00 ` Matthew Heaney [this message]
1999-06-16 0:00 ` dennison
1999-06-16 0:00 ` Matthew Heaney
1999-06-16 0:00 ` dennison
1999-06-17 0:00 ` Simon Wright
1999-06-16 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