Concurrently allocated sessions get into trouble

Keith Hodges keith_hodges at yahoo.co.uk
Mon Jun 25 22:18:33 UTC 2007


Dear Chris,

I discovered that opening a session, before a prior session had 
completed being opened resulted in two open repositorycontrollers. i.e. 
openedOn: was returning nil for a controller that was already in the 
process of being opened.

This also results in clients being given the same id for multiple sessions.

I solved this by putting a critical block around our #newSession code.

Keith


More information about the Magma mailing list