Popular recipes by André Bjärby http://code.activestate.com/recipes/users/97994/2010-01-11T09:36:21-08:00ActiveState Code Recipessqlite message bus (Python)
2010-01-11T09:36:21-08:00André Bjärbyhttp://code.activestate.com/recipes/users/97994/http://code.activestate.com/recipes/577001-sqlite-message-bus/
<p style="color: grey">
Python
recipe 577001
by <a href="/recipes/users/97994/">André Bjärby</a>
(<a href="/recipes/tags/message_bus/">message_bus</a>, <a href="/recipes/tags/sqlite/">sqlite</a>).
</p>
<p>Let several (unix) processes communicate via a shared sqlite database.</p>
Synchronizing all methods in an object (Python)
2001-06-14T02:07:21-07:00André Bjärbyhttp://code.activestate.com/recipes/users/97994/http://code.activestate.com/recipes/65202-synchronizing-all-methods-in-an-object/
<p style="color: grey">
Python
recipe 65202
by <a href="/recipes/users/97994/">André Bjärby</a>
(<a href="/recipes/tags/threads/">threads</a>).
</p>
<p>Makes sure that only one thread at a time is "inside" the object. This restriction can be lifted for methods whose locking you want to handcode.</p>