[hunchentoot-devel] thread safety in session-value

Anton Vodonosov avodonosov at yandex.ru
Thu Sep 4 18:12:01 UTC 2008


on Thursday, September 4, 2008, 7:47:38 AM Hans wrote:

> On Wed, Sep 3, 2008 at 23:22, Anton Vodonosov <avodonosov at yandex.ru> wrote:
>> on Wednesday, September 3, 2008, 11:51:25 PM Hans wrote:
>>
>>> On Wed, Sep 3, 2008 at 22:32, Anton Vodonosov <avodonosov at yandex.ru> wrote:
>>>> Just noticed in the sources that SESSION-VALUE
>>>> code does not have WITH-LOCK. IMHO it is necessary
>>>> here.
>>
>>> Can you please be more specific?  Thanks.
>>
>> I thought that several functions work with the same list
>> - SESSION-DATA slot of the session.

> I agree, this could be a problem if one session is accessed by
> multiple requests, and this is not a completely unlikely scenario
> (although I have not been bitten by this).  Do you have a patch?

No, sorry, I don't have a patch at the moment (if I had had it I would
have posted it in the previous letter).

Best regards,
-Anton




More information about the Tbnl-devel mailing list