Latest recipes by Matthew Scott http://code.activestate.com/recipes/users/2422085/new/2005-05-07T04:23:52-07:00ActiveState Code RecipesMultiple-reader-one-writer (MROW) resource locking (Python)
2005-05-07T04:23:52-07:00Matthew Scotthttp://code.activestate.com/recipes/users/2422085/http://code.activestate.com/recipes/413393-multiple-reader-one-writer-mrow-resource-locking/
<p style="color: grey">
Python
recipe 413393
by <a href="/recipes/users/2422085/">Matthew Scott</a>
(<a href="/recipes/tags/threads/">threads</a>).
Revision 2.
</p>
<p>In multithreaded apps, there is at times the need to control access to a resource to ensure data consistency and integrity. Multiple-reader, one-writer locking allows efficient read access by multiple threads, while ensuring that a write does not overlap any reads nor another write.</p>
Integrating Twisted reactor with IPython (Python)
2005-04-22T01:26:20-07:00Matthew Scotthttp://code.activestate.com/recipes/users/2422085/http://code.activestate.com/recipes/410670-integrating-twisted-reactor-with-ipython/
<p style="color: grey">
Python
recipe 410670
by <a href="/recipes/users/2422085/">Matthew Scott</a>
(<a href="/recipes/tags/debugging/">debugging</a>).
</p>
<p>Runs the Twisted reactor event loop in a thread alongside an IPython shell, for introspecting a running Twisted process.</p>