Wykres commitów

15 Commity (asyncio-segfault)

Autor SHA1 Wiadomość Data
Paul Sokolovsky dbc45a241b Add changes to expose uPy segfault. 2014-04-24 02:45:39 +03:00
Paul Sokolovsky 18c0b2c2f0 asyncio: Add basic asyncio stream interface test. 2014-04-24 02:31:17 +03:00
Paul Sokolovsky 916eb33727 asyncio: Handle end of stream condition properly.
By removing any IO watches for associated file handle. The way it's
implemented tries to preserve OS-like separation between event loop and
tasks. So, stream to finish watching fd for IO also issues syscall,
instead of calling methods on loop instance directly. Calling method on
loop would be more efficient, but will require storing reference to loop
in each stream. And those separation matters...
2014-04-24 02:31:17 +03:00
Paul Sokolovsky efc5bac0dd asyncio: Add basic loop.call_soon() test. 2014-04-24 02:31:17 +03:00
Paul Sokolovsky d63d73d9fb asyncio: Add asyncio.async() dummy factory function.
Not Task bloat implemented (so far?), so just identity function for CPython
compatibility.
2014-04-24 02:31:17 +03:00
Paul Sokolovsky aff251b129 asyncio: Add remove_reader()/remove_writer(). 2014-04-24 02:31:17 +03:00
Paul Sokolovsky 9301c152bd asyncio: Use logging and errno modules. 2014-04-24 02:31:17 +03:00
Paul Sokolovsky 56ff510f9d asyncio: Add dumb debug output. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky a0a699ecda asyncio: Start adding asyncio stream interface. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky ca9ea0d1b8 asyncio: Support read/write syscalls, and route vals both ways between coros. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky 65f0a05f2a asyncio: EpollEventLoop.wait(): support infinite wait. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky e2403bde0a asyncio: Make run_forever() actually run forever. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky 25bcef1b0d asyncio: Recover eventloop's ability to work with callbacks.
Actually, coroutine support for call_soon() is a hack, in big asyncio coroutine
should be wrapped in Task object.
2014-04-24 01:07:22 +03:00
Paul Sokolovsky 78fef25eea asyncio: Implement subclass implementing filedes watching interface. 2014-04-24 01:07:22 +03:00
Paul Sokolovsky 80ecd3b822 asyncio: Initial prototype implementation. 2014-04-24 01:07:22 +03:00