Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-11 | Sync flag introduced for port type. | Max Romanov | 1 | -3/+9 | |
To avoid transfer mmap_msg before new mmap message. | |||||
2017-08-11 | Tiny mmap buffers completion fixed. | Max Romanov | 1 | -1/+2 | |
Small mmap buffers transferred in 'plain' mode and should be freed by sender. | |||||
2017-08-02 | Added basic port error handler. | Max Romanov | 1 | -16/+38 | |
2017-08-02 | Implicit port read buffer completion. | Max Romanov | 1 | -7/+20 | |
To disable implicit completion, handler should reset msg->buf field. | |||||
2017-08-02 | Added bit flags to type parameter of nxt_port_socket_write(). | Max Romanov | 1 | -3/+15 | |
NXT_PORT_MSG_LAST - mark message as last; NXT_PORT_MSG_CLOSE_FD - close fd right after send; Type constants altered to include last flag for single buffer messages. Last sign is critical for coming port RPC layer. Handlers unregistered on last message. Create sync buffer is not convenient, extra parameter is better. | |||||
2017-07-18 | Port allocation and destroy changed. Worker process stop introduced. | Max Romanov | 1 | -20/+4 | |
2017-07-12 | New process port exchange changed. READY message type introduced. | Max Romanov | 1 | -3/+10 | |
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready. | |||||
2017-07-07 | Work queue thread safety checks for DEBUG build. | Max Romanov | 1 | -7/+5 | |
2017-07-07 | Process stop notification from master to all other processes. | Max Romanov | 1 | -4/+5 | |
New port message type introduced NXT_PORT_MSG_REMOVE_PID. Default handler removes process description from nxt_runtime_t with all ports, incoming and outgoing mmaps etc. | |||||
2017-07-07 | Redirecting buffer completion handler to specific engine. | Max Romanov | 1 | -2/+44 | |
There is a case in router where we use port in router connection thread. Buffers are allocated within connection memory pool which can be used only in this router thread. sendmsg() can be postponed into main router thread and completion handler will compare current engine and post itself to correct engine. | |||||
2017-06-23 | Increased size of iovec when data passed using shared memory. | Max Romanov | 1 | -2/+4 | |
Useful for tiny shared memory segment test case. | |||||
2017-06-23 | Added mem_pool pointer member to nxt_port_send_msg_t. | Max Romanov | 1 | -1/+2 | |
To decouple nxt_port_send_msg_t from port. | |||||
2017-06-23 | Moved message size to nxt_port_recv_msg_t for convenience. | Max Romanov | 1 | -33/+12 | |
2017-06-20 | Using new memory pool implementation. | Igor Sysoev | 1 | -9/+8 | |
2017-05-12 | Using shared memory to send data via nxt_port. | Max Romanov | 1 | -40/+101 | |
Usage: b = nxt_port_mmap_get_buf(task, port, size); b->mem.free = nxt_cpymem(b->mem.free, data, size); nxt_port_socket_write(task, port, NXT_PORT_MSG_DATA, -1, 0, b); | |||||
2017-02-22 | Port changes. | Igor Sysoev | 1 | -43/+29 | |
2017-02-22 | I/O operations refactoring. | Igor Sysoev | 1 | -27/+19 | |
2017-02-07 | Event engines refactoring. | Igor Sysoev | 1 | -5/+5 | |
2017-02-01 | Process channels have been renamed to ports. | Igor Sysoev | 1 | -0/+464 | |