[Metakit] multiple readers/multiple writers

Brian Kelley fustigator at gmail.com
Mon Jan 2 16:54:55 CET 2006


If you are threading with python, you can simply

st = metakit.storage(...)

and share st between threads.  This doesn't work between processes,
but the GIL (global interpreter lock) will automagically lock for you.
 This really means that only one python thread will run at a time when
you are doing metakit stuff, but I haven't found this to be too big of
an issue.

Brian

On 1/1/06, Eric S. Johansson <esj at harvee.org> wrote:
> I'm trying to remember if Metakit handles multiple writers with
> appropriate locking?  The documentation makes it look like it doesn't.
> On the other hand, that could be just a side effect of beating my head
> against Python bsddb and sleepy cat for the past day or so.
>
> ---eric
> _____________________________________________
> Metakit mailing list  -  Metakit at equi4.com
> http://www.equi4.com/mailman/listinfo/metakit
>


More information about the Metakit mailing list