From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1742659b6aa943fb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newsread.com!news-xfer.newsread.com!newspeer.monmouth.com!newsfeed.cw.net!news-FFM2.ecrc.de!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!carbon.eu.sun.com!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: Tasking and wxWidgets Date: Sat, 26 Nov 2005 18:23:29 +0000 (UTC) Organization: BT Openworld Message-ID: References: <1132913111.023558.255590@g14g2000cwa.googlegroups.com> <4386eb3d$1_1@glkas0286.greenlnk.net> <1133019090.480779.116750@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: host86-131-216-244.range86-131.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com 1133029409 16364 86.131.216.244 (26 Nov 2005 18:23:29 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Sat, 26 Nov 2005 18:23:29 +0000 (UTC) In-Reply-To: <1133019090.480779.116750@f14g2000cwb.googlegroups.com> X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) Xref: g2news1.google.com comp.lang.ada:6641 Date: 2005-11-26T18:23:29+00:00 List-Id: 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