On 10.04.2014, at 01:44, Michael Dürig <[email protected]> wrote:

>> So when 2 threads use the same session for read operations, then you
>> get another warning ("concurrent access")?
> 
> Right but only at debug level.
> 
>> If the threads are synchronized, so one finishes its session
>> operations, then the other thread uses it (not in parallel), and when
>> that other thread has finished, the first one again reads from the
>> session, would you get a warning then? AFAIC, the messages are
>> triggered only when it has to wait for another thread.
> 
> Exactly. Each operation tries to acquire a lock and logs a warning if it 
> fails before eventually blocking on that lock:

Ok, thanks for the info. Then I know that my code is messed up :)

Cheers,
Alex

Reply via email to