Hi,

> deadlocks

I think it's relatively simple to synchronize all methods on the session.

> If we want to make sessions thread-safe, we should use proper
> implementations.

Yes, that's what I want to write: a proper implementation.

> any concurrent use of the same session is unsupported.

The disadvantage of this is that there is no way to enforce correct
usage. In some cases, incorrect usage leads to data corruption. I
believe data corrupt is not acceptable, even if the user made a
mistake.

Regards,
Thomas

Reply via email to