[BangPypers] psphere: how to make thread safe
maniandram01 at gmail.com
Wed Aug 22 14:23:25 CEST 2012
On 22 August 2012 17:15, Saju M <sajuptpm at gmail.com> wrote:
> psphere: Python interface for the VMware vSphere Web Services SDK
> I already developed an app using https://bitbucket.org/jkinred/psphere.
> getting lot of errors since psphere is not thread safe (I think). So i
> wrote couple of scripts to test it (See attached files) and found that
> caching mechanism used by psphere is not thread safe. Could someone please
> give me some suggestion to make it thread safe.
> BangPypers mailing list
> BangPypers at python.org
> Use locks (this is the *only** *way to make a program thread-safe)
More information about the BangPypers