comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Dowie <martin.dowie@btopenworld.com>
Subject: Re: Tasking and wxWidgets
Date: Sat, 26 Nov 2005 18:23:29 +0000 (UTC)
Date: 2005-11-26T18:23:29+00:00	[thread overview]
Message-ID: <dma971$fvc$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com> (raw)
In-Reply-To: <1133019090.480779.116750@f14g2000cwb.googlegroups.com>

Lucretia wrote:
> Well, yeah. It is unlikely that wxAda will be used within the embedded
> sector, so it may not be that feasible, but I was wondering more about
> the fact that there are a lot of calls in wxWidgets and that if every
> call was blocking, it may end up being particularly slooow when
> multiple tasks start to use the objects concurrently.

Only if they lock and then do something slow or if you have loads of 
tasks all queue on the same lock.


>>Could you provide the locking as an option at compile time? I.e. have 2
>>packages that providing locking but one is "begin null end;" (or "is null;"
>>for Ada2005, yes?) for everything.
> 
> 
> That would be a big job as there is no preprocessor for Ada (only GNAT
> - and this lib is to be portable).
> 
> Yeah, there will be an Ada 2005 version after the Ada 95 version.

You won't need a preprocessor (although GNAT does have one 'gnatprep') - 
same spec, different bodies.

-- Spec
procedure Foo;

-- Body
procedure Foo is null;

Cheers

-- Martin



  reply	other threads:[~2005-11-26 18:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-25 10:05 Tasking and wxWidgets Lucretia
2005-11-25 10:53 ` Martin Dowie
2005-11-26 17:32   ` Lucretia
2005-11-26 18:23     ` Martin Dowie [this message]
2005-11-29  3:07       ` Randy Brukardt
2005-11-29  9:13         ` Martin Dowie
2005-11-29 21:46           ` Randy Brukardt
2005-11-29 22:46             ` Martin Dowie
2005-11-25 11:37 ` Dmitry A. Kazakov
2005-11-26 17:26   ` Lucretia
2005-11-27 11:15     ` Dmitry A. Kazakov
2005-11-28 10:48       ` Lucretia
2005-11-28 14:41         ` Dmitry A. Kazakov
2005-11-26 17:26   ` Lucretia
2005-11-26 17:28   ` Lucretia
2005-11-26 17:34   ` Lucretia
2005-11-26  7:46 ` Simon Wright
2005-11-28 10:37   ` Lucretia
2005-11-29 21:38     ` 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