Ruby: request processing in multiple threads.

This closes #482 issue on GitHub.
This commit is contained in:
Max Romanov
2020-11-05 12:45:10 +03:00
parent 9f8b746e77
commit b6475df79c
6 changed files with 515 additions and 211 deletions

View File

@@ -21,9 +21,13 @@
typedef struct {
nxt_unit_ctx_t *unit_ctx;
VALUE env;
VALUE io_input;
VALUE io_error;
VALUE thread;
nxt_unit_ctx_t *ctx;
nxt_unit_request_info_t *req;
} nxt_ruby_run_ctx_t;
} nxt_ruby_ctx_t;
VALUE nxt_ruby_stream_io_input_init(void);