> Okay, here's a question for you.  I'm using SPOD, so both threads
> initialize the neko.db.Manager class and pass the db connection
> statically to that class.  If all threads used by a single vm share the
> same memory, then technically, use of the static features of Manager
> would use the same data.  Am I right?  If so, then how do I split this
> per thread?

You can define your own Connection by implementing the appropriate
methods of neko.db.Connection, that will perform the lock before each
access.

Nicolas

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to