Popular recipes by Emilio Monti http://code.activestate.com/recipes/users/4173642/2010-09-06T11:20:53-07:00ActiveState Code RecipesSetting a file descriptor to blocking or non-blocking mode (C)
2010-09-06T11:20:53-07:00Emilio Montihttp://code.activestate.com/recipes/users/4173642/http://code.activestate.com/recipes/577384-setting-a-file-descriptor-to-blocking-or-non-block/
<p style="color: grey">
C
recipe 577384
by <a href="/recipes/users/4173642/">Emilio Monti</a>
(<a href="/recipes/tags/blocking/">blocking</a>, <a href="/recipes/tags/file_descriptor/">file_descriptor</a>, <a href="/recipes/tags/non_blocking/">non_blocking</a>).
Revision 2.
</p>
<p>A simple function to set a file descriptor (i.e. a socket) to blocking or non-blocking mode.</p>
Python Thread Pool (Python)
2010-04-12T22:27:32-07:00Emilio Montihttp://code.activestate.com/recipes/users/4173642/http://code.activestate.com/recipes/577187-python-thread-pool/
<p style="color: grey">
Python
recipe 577187
by <a href="/recipes/users/4173642/">Emilio Monti</a>
(<a href="/recipes/tags/pool/">pool</a>, <a href="/recipes/tags/thread/">thread</a>).
Revision 9.
</p>
<p>A simple Python ThreadPool based on the standard library's <a href="http://docs.python.org/library/queue.html">Queue</a> object.</p>