Wykres commitów

17 Commity (e42b955c1dcc57625639cdc37de00b0d373f6dd8)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 165fbbd768 select: Add yet another workaround for struct epoll_event, this time for x86_64.
So, it's now clear that dealing with this struct should be rather moved on C side.
2014-09-06 19:36:28 +03:00
Paul Sokolovsky 7bc0c0a458 select: Version 0.0.8. 2014-08-13 00:56:23 +03:00
Paul Sokolovsky 8274c56925 select: Work around epoll_event field alignment variation. 2014-08-10 23:10:48 +03:00
Paul Sokolovsky d32312e2d8 select: Depend on _libc. 2014-06-21 14:59:35 +03:00
Paul Sokolovsky 286ead8b99 select: Convert to metadata.txt. 2014-05-31 16:18:41 +03:00
Paul Sokolovsky f4d921c74f select: Fix conflict between errno var and module. 2014-05-31 16:18:34 +03:00
Paul Sokolovsky f48221f6c0 select: Need to keep parallel mapping of fd -> callback obj on uPy side.
Even despite epoll allows us to map fd onto any object, we need to keep
parallel bookkeeping on Python side, to: 1) keep associated object from
being garbage collection; 2) to be able to release associated object back
to GC when we finished watching fd.
2014-05-03 20:13:36 +03:00
Paul Sokolovsky f94297ff86 select: Add Epoll.close(). 2014-05-01 10:28:43 +03:00
Paul Sokolovsky 84f3cbb7cc select: Add epoll.unregister() method. 2014-04-24 01:04:32 +03:00
Paul Sokolovsky 56454eba33 all: Tighten up typecodes for FFI module. 2014-04-22 00:39:21 +03:00
Paul Sokolovsky 4016f0664c select: Use symbolic constant from errno module. 2014-04-22 00:33:13 +03:00
Paul Sokolovsky 52ac4308f7 select: epoll.register(): Handle case of fd have been already registered.
Is this correct enough? Certainly, Python's epoll should not be fire-once?
2014-04-20 06:20:57 +03:00
Paul Sokolovsky 1cc01656f7 select: Actually implement extended arg to epoll.register().
Allow to pass arbitrary Python objects as "callback data" to epoll, which
will be then returned when activity on fd detected.
2014-04-20 06:20:57 +03:00
Paul Sokolovsky b149831264 select: epoll: Accept sizehint param. 2014-04-20 06:20:57 +03:00
Paul Sokolovsky 6cac26f078 select: Add setup metadata. 2014-04-19 21:01:44 +03:00
Paul Sokolovsky 7251b8f820 select: Add simple epoll test. 2014-04-19 20:37:00 +03:00
Paul Sokolovsky d8e0383f55 select: Add initial epoll implementation.
epoll is chosen as most efficient on Linux and FFI-friendly.
2014-04-19 20:36:23 +03:00