1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 10:09:20 -05:00
denoland-deno/cli/ops
Bartek Iwańczuk 8b90b8e883 refactor: per-worker resource table, take 2 (#3342)
- removes global `RESOURCE_TABLE` - resource tables are now created per `Worker`
  in `State`
- renames `CliResource` to `StreamResource` and moves all logic related
  to it to `cli/ops/io.rs`
- removes `cli/resources.rs`
- adds `state` argument to `op_read` and `op_write` and consequently adds
  `stateful_minimal_op` to `State`
- IMPORTANT NOTE: workers don't have access to process stdio - this is
  caused by fact that dropping worker would close stdout for process
  (because it's constructed from raw handle, which closes underlying file
  descriptor on drop)
2019-11-14 12:10:25 -05:00
..
compiler.rs Loader: support .wasm imports (#3328) 2019-11-14 08:31:39 -05:00
dispatch_json.rs fix: handle malformed control buffers (#3202) 2019-10-25 13:23:16 -04:00
dispatch_minimal.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
errors.rs Refactor Worker and ThreadSafeState (#3242) 2019-11-04 10:38:52 -05:00
fetch.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
files.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
fs.rs Add init methods for each op module (#3087) 2019-10-11 11:41:54 -07:00
io.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
mod.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
net.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
os.rs Refactor Worker and ThreadSafeState (#3242) 2019-11-04 10:38:52 -05:00
permissions.rs Add permissions.request (#3296) 2019-11-11 10:33:29 -05:00
process.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
random.rs Add init methods for each op module (#3087) 2019-10-11 11:41:54 -07:00
repl.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
resources.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
timers.rs Use web standard Permissions API (#3200) 2019-10-27 11:22:53 -04:00
tls.rs refactor: per-worker resource table, take 2 (#3342) 2019-11-14 12:10:25 -05:00
workers.rs refactor: worker is no longer a resource (#3290) 2019-11-09 12:07:14 -08:00