- 29 5月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
op_fetch_module_meta_data is an op that is used by the TypeScript compiler. TypeScript requires this op to be sync. However the implementation of the op does things on the event loop (like fetching HTTP resources). In certain situations this can lead to deadlocks. The runtime's thread pool can be filled with ops waiting on the result of op_fetch_module_meta_data. The runtime has a maximum number of threads it can use (the number of logical CPUs on the system). This patch changes tokio_util::block_on to launch a new Tokio runtime for evaluating the future, thus bipassing the max-thread problem. This is only an issue in op_fetch_module_meta_data. Other synchronous ops are truly synchornous, not interacting with the event loop. TODO comments are added to direct future development.
-
- 24 5月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
-
- 29 4月, 2019 1 次提交
-
- 28 4月, 2019 1 次提交
-
-
由 Yusuke Sakurai 提交于
-
- 24 4月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
-
- 17 4月, 2019 1 次提交
-
-
由 Bert Belder 提交于
-
- 15 4月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
This is to work around Tokio's panic recovery feature. Ref https://github.com/tokio-rs/tokio/issues/495 Ref https://github.com/tokio-rs/tokio/issues/209 Ref https://github.com/denoland/deno/issues/1311 Fixes #2097
-
- 20 3月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
To better distinguish the deno_core crate from the executable deno, which will now be called "the cli" internally.
-
- 19 3月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
This disables a few tests which are broken still: - tests/error_004_missing_module.test - tests/error_005_missing_dynamic_import.test - tests/error_006_import_ext_failure.test - repl_test test_set_timeout - repl_test test_async_op - repl_test test_set_timeout_interlaced - all of permission_prompt_test
-
- 13 3月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
This is in preperation for core integration.
-
- 13 2月, 2019 1 次提交
-
-
- 02 2月, 2019 1 次提交
-
-
由 Bert Belder 提交于
-
- 16 1月, 2019 1 次提交
-
-
- 15 1月, 2019 1 次提交
-
-
由 Andy Hayden 提交于
-
- 02 1月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
-
- 11 12月, 2018 1 次提交
-
-
由 F001 提交于
-
- 20 10月, 2018 1 次提交
-
-
由 ztplz 提交于
-
- 04 10月, 2018 1 次提交
-
-
由 Ryan Dahl 提交于
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.
-
- 26 9月, 2018 1 次提交
-
-
由 Ryan Dahl 提交于
By using the tokio default runtime. This patch makes all of the ops thread safe. Adds libdeno to JS globals to make for easier testing. Preliminary work for #733.
-