Concurrently allocated sessions get into trouble

goran at krampe.se goran at krampe.se
Tue Jun 26 06:25:03 UTC 2007


Hi Chris!

"Chris Muller" <asqueaker at gmail.com> wrote:
[SNIP]
> I merged Magma server-kph.206, thanks for that, but I did not see any
> code addressing this issue.  So what guard did you use to protect the
> opening of the sessions?  Did you add a class-var?

No, we have a class called Q2MagmaSessionPool in Gjallar which in turn
is a derivative from Cees' code in Kilauea - and in there Keith added a
critical: around the code that allocates a new session to serialize the
allocations.

regards, Göran


More information about the Magma mailing list