diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-11-05 12:45:10 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-11-05 12:45:10 +0300 |
commit | b6475df79cd14d80c794abfc9d1edbcebbe86f2c (patch) | |
tree | 2bf4a06f070793b5210bdde4a431135bc05cba54 /src/ruby/nxt_ruby.h | |
parent | 9f8b746e776031e6eef6dea84c8dafbb8c24c725 (diff) | |
download | unit-b6475df79cd14d80c794abfc9d1edbcebbe86f2c.tar.gz unit-b6475df79cd14d80c794abfc9d1edbcebbe86f2c.tar.bz2 |
Ruby: request processing in multiple threads.
This closes #482 issue on GitHub.
Diffstat (limited to 'src/ruby/nxt_ruby.h')
-rw-r--r-- | src/ruby/nxt_ruby.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ruby/nxt_ruby.h b/src/ruby/nxt_ruby.h index 77a65894..26430021 100644 --- a/src/ruby/nxt_ruby.h +++ b/src/ruby/nxt_ruby.h @@ -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); |