Re: Tasking and wxWidgets
- From: Martin Dowie <martin.dowie@xxxxxxxxxxxxxxx>
- Date: Sat, 26 Nov 2005 18:23:29 +0000 (UTC)
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 .
- Follow-Ups:
- Re: Tasking and wxWidgets
- From: Randy Brukardt
- Re: Tasking and wxWidgets
- References:
- Tasking and wxWidgets
- From: Lucretia
- Re: Tasking and wxWidgets
- From: Martin Dowie
- Re: Tasking and wxWidgets
- From: Lucretia
- Tasking and wxWidgets
- Prev by Date: Re: Tasking and wxWidgets
- Next by Date: Re: Eclipse Ada Support - FYI
- Previous by thread: Re: Tasking and wxWidgets
- Next by thread: Re: Tasking and wxWidgets
- Index(es):