| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | event/multiqueue.c: Rename "queue" to "multiqueue". | Justin M. Keyes | 2016-10-02 |
| | | | | | | | | | | | | | | | `lib/queue.h` implements a basic queue. `event/queue.c` implements a specialized data structure on top of lib/queue.h; it is not a "normal" queue. Rename the specialized multi-level queue implemented in event/queue.c to "multiqueue", to avoid confusion when reading the code. Before this change one can eventually notice that "macros (uppercase symbols) are for the normal queue, lowercase operations are for the multi-level queue", but that is unnecessary friction for new developers (or existing developers just visiting this part of the codebase). | ||
| * | event: Refactor async event processing | Thiago de Arruda | 2015-08-13 |
| | | | | | | | | | | | - Improve the implementation of deferred/immediate events. - Use the new queue module to change how/when events are queued/processed by giving a private queue to each emitter. - Immediate events(which only exist to break uv_run recursion) are now represented in the `loop->fast_events` queue. - Events pushed to child queues are propagated to the event loop main queue and processed as K_EVENT keys. | ||
| * | server: Extract most logic into the new socket abstraction | Thiago de Arruda | 2015-07-17 |
| - Move event loop code into event/socket - Reimplement server.c on top of the new SocketWatcher class - Adapt msgpack_rpc/channel.c | |||