comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Using Xt intrinsics with Ada?
Date: Fri, 02 Feb 2001 19:30:36 GMT
Date: 2001-02-02T19:30:36+00:00	[thread overview]
Message-ID: <95f1ss$gal$1@nnrp1.deja.com> (raw)
In-Reply-To: 3A7AD594.EAA4A6C6@avitech.de

In article <3A7AD594.EAA4A6C6@avitech.de>,
  Juergen Fischer <juergen.fischer@avitech.de> wrote:

> Sorry about that, I am only looking for a solution and it was not my
> intention to polemize against Ada.

I wasn't offended. Anyone who uses Ada in a heavily C domain like GUI
work needs a much thicker skin than that. I was just advocating removing
a gaudy variable.

> > replace your Ada "main" with a C "main", and see what happens. I'll
> > bet you a virtual beer that you get the exact same behavior. :-)
>
> I have reduced the Ada "main" to the start of the XtAppMainLoop. With
> all other tasks switched off  there is no CPU load (same behaviour as
> in a C program). With all other
> tasks switched on but XtAppMainLoop not started the process does not
> CPU, consume either. Only the combination of XtAppMainLoop and the
> other application tasks leads to CPU load although the application,
> after initialization, is in a wait state.

Ahhh, you've already done that then. It looks like I'm going to end up
owing you that virtual beer. :-(


> I compiled the Ada Sources with ObjectAda 7.1.2. The OS is HP_UX
> 10.20.

I'm not familiar with that compiler on that platform. It might be worth
finding out what OS mechanisms it uses to accomplish tasking (since you
said elsewhere it isn't using OS threads). There ought to be some clues
to that in your compiler docs.

--
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com
http://www.deja.com/



  reply	other threads:[~2001-02-02 19:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-31 15:55 Using Xt intrinsics with Ada? Jürgen Grigat
2001-01-31 18:14 ` Stephen Leake
2001-02-02  9:58   ` Juergen Fischer
2001-02-02 12:00     ` Jeff Creem
2001-02-02 15:02     ` Ted Dennison
2001-02-02 15:43       ` Juergen Fischer
2001-02-02 19:30         ` Ted Dennison [this message]
2001-02-02 15:06     ` Stephen Leake
2001-02-02 15:48       ` Juergen Fischer
2001-02-05 15:06         ` Stephen Leake
2001-02-02 15:21     ` Robert Dewar
2001-01-31 19:19 ` Ted Dennison
2001-01-31 21:07   ` Ted Dennison
2001-01-31 21:40     ` Mario Klebsch
2001-02-02 16:26       ` Juergen Fischer
2001-01-31 19:42 ` Kevin Kronmiller
2001-02-01 11:55 ` Tarjei T. Jensen
2001-02-02 16:08 ` Des Walker
2001-02-02 16:40   ` Juergen Fischer
2001-02-03 14:37     ` 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