I am trying to understand some of the locking issues in a multi-threaded
Python app.

Are the operations such as dictionary manipulations defined to be atomic in
Python?  Otherwise it would seem like there are some race conditions in
working with the Session() class.  In particular, multiple threads accessing
the same session instance simultaneously could cause problems.  

Also, is there some locking protocol that should be used with the
Session*Store so that it does not attempt to store a session which is in the
process of being updated?

Stuart Donaldson
Alerton Technologies Inc.



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to