Re: Tasking and wxWidgets



"Lucretia" <lucretia9@xxxxxxxxxxx> writes:

>> What would be acceptable? Using a Lock from the Booch çcomponents
>> (http://booch95.sourceforge.net) takes just under 20 us on a 1.5GHz
>> Powerbook.
>
> I really doubt that the Booch components are written any differently
> to mine. So, why would I need to?

You thought that there might be a performance problem using locks. It
seemed to me that you might be just being apprehensive without having
any real evidence, and I produced a data point that showed that a
particular implementation has a particular performance and asked
whether that would be acceptable or not given your scenario.

Of course your locks will be programmed in standard Ada, so their
performance will likely be similar to the BCs. Whether you choose to
use the BCs or not is entirely a matter for you. Whether you can
afford to use locks at all depends on your chosen implementation's
performance * the invocation rate. Might need to be quite clever about
where the locks are applied .. 20 us isn't that fast, after all.
.