<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/trollius.git/proactor.py, branch proactor</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/trollius-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/'/>
<entry>
<title>Fix comment</title>
<updated>2012-11-18T13:05:15+00:00</updated>
<author>
<name>Richard Oudkerk</name>
<email>shibturn@gmail.com</email>
</author>
<published>2012-11-18T13:05:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=387bb23d10bac96eca53cc85098ff54841723367'/>
<id>387bb23d10bac96eca53cc85098ff54841723367</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ipv6 support for overlapped sockets on Windows.</title>
<updated>2012-11-08T15:54:12+00:00</updated>
<author>
<name>Richard Oudkerk</name>
<email>shibturn@gmail.com</email>
</author>
<published>2012-11-08T15:54:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=16e6578584495cbe29812c9ad6e89ab03aee0a92'/>
<id>16e6578584495cbe29812c9ad6e89ab03aee0a92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use SetFileCompletionNotificationModes() for IOCP to reduce overhead.</title>
<updated>2012-11-08T00:12:03+00:00</updated>
<author>
<name>Richard Oudkerk</name>
<email>shibturn@gmail.com</email>
</author>
<published>2012-11-08T00:12:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=99ee39381deeb8d74b1aa7902452784ba6e3a768'/>
<id>99ee39381deeb8d74b1aa7902452784ba6e3a768</id>
<content type='text'>
(This is only available from Windows Vista onwards.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(This is only available from Windows Vista onwards.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid creating a future if there is no need to block.</title>
<updated>2012-11-07T13:35:24+00:00</updated>
<author>
<name>Richard Oudkerk</name>
<email>shibturn@gmail.com</email>
</author>
<published>2012-11-07T13:35:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=0db7f304155a32c752dd3923566a5c9b211d60b1'/>
<id>0db7f304155a32c752dd3923566a5c9b211d60b1</id>
<content type='text'>
Instead proactor.Future is now an exception. This substantially reduces
the overhead in the case where blocking is not necessary.

So now we would write things like

    try:
        return context._eventloop.proactor.connect(sock, address)
    except Future as f:
        yield from scheduling.block_future(f)
        return f.result()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead proactor.Future is now an exception. This substantially reduces
the overhead in the case where blocking is not necessary.

So now we would write things like

    try:
        return context._eventloop.proactor.connect(sock, address)
    except Future as f:
        yield from scheduling.block_future(f)
        return f.result()
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix EpollProactor's treatment of timeouts.</title>
<updated>2012-11-04T16:29:31+00:00</updated>
<author>
<name>Richard Oudkerk</name>
<email>shibturn@gmail.com</email>
</author>
<published>2012-11-04T16:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=ca7d3d4dfb9ccdf1e533c471a548e1744be76acf'/>
<id>ca7d3d4dfb9ccdf1e533c471a548e1744be76acf</id>
<content type='text'>
The confusion was caused by the fact that select.epoll() uses seconds
for specifying the timeout, whereas select.poll() uses milliseconds.

Thanks to tailhook.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The confusion was caused by the fact that select.epoll() uses seconds
for specifying the timeout, whereas select.poll() uses milliseconds.

Thanks to tailhook.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rip out pollsters and replace with proactors.</title>
<updated>2012-11-03T20:47:32+00:00</updated>
<author>
<name>Richard Oudkerk</name>
<email>shibturn@gmail.com</email>
</author>
<published>2012-11-03T20:47:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=d381652479e6da5e4509cc96b5cc5671881f981e'/>
<id>d381652479e6da5e4509cc96b5cc5671881f981e</id>
<content type='text'>
Note that the IOCP proactor does not support ssl sockets or (currently)
ipv6.  Also, there is no kqueue proactor.

To use IOCP first compile by doing

    python setup.py build
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that the IOCP proactor does not support ssl sockets or (currently)
ipv6.  Also, there is no kqueue proactor.

To use IOCP first compile by doing

    python setup.py build
</pre>
</div>
</content>
</entry>
</feed>
