Marcus Crafter wrote:
> Hi All,
>
> This time with a subject line!.. :-)
>
> Cheers,
>
> Marcus
In what way are the same set of parameters used by different threads in Cocoon?
We never addressed ThreadSafety as one of the Contracts for either Parameters
or Configuration.
>
> On Tue, Dec 18, 2001 at 05:03:01PM +0100, crafterm wrote:
>
>>Hi All,
>>
>> Hope all is well!
>>
>> I've just been doing some debugging with our application here in
>> Dresdner Bank, which has led me to have a closer look at the
>> Parameters class. From my analysis the Parameters class is not
>> thread safe.
>>
>> (Parameters uses HashMap as it's internal store, and does not
>> synchronize any of its mutator methods).
>>
>> I'm just wondering if this is intended (ie. like HashMap in the
>> Collections API - up to the developer to synchronize access) or
>> whether this is should be fixed as it can currently cause grief
>> in Cocoon under load.
>>
>> Any thoughts/comments/etc ?
>>
>> Cheers,
>>
>> Marcus
>>
>>--
>> .....
>> ,,$$$$$$$$$, Marcus Crafter
>> ;$' '$$$$: Computer Systems Engineer
>> $: $$$$: ManageSoft GmbH
>> $ o_)$$$: 82-84 Mainzer Landstrasse
>> ;$, _/\ &&:' 60327 Frankfurt Germany
>> ' /( &&&
>> \_&&&&' Email : [EMAIL PROTECTED]
>> &&&&. Business Hours : +49 69 9757 200
>> &&&&&&&:
>>
>
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>