1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/cli/ops
Bartek Iwańczuk 79b3bc05d6
workers: basic event loop (#3828)
* establish basic event loop for workers
* make "self.close()" inside worker
* remove "runWorkerMessageLoop() - instead manually call global function 
  in Rust when message arrives. This is done in preparation for structured clone
* refactor "WorkerChannel" and use distinct structs for internal 
  and external channels;  "WorkerChannelsInternal" and "WorkerHandle"
* move "State.worker_channels_internal" to "Worker.internal_channels"
* add "WorkerEvent" enum for child->host communication; 
  currently "Message(Buf)" and  "Error(ErrBox)" variants are supported
* add tests for nested workers
* add tests for worker throwing error on startup
2020-02-11 10:04:59 +01:00
..
compiler.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
dispatch_json.rs No longer require aligned buffer for shared queue (#3935) 2020-02-09 10:54:16 -08:00
dispatch_minimal.rs refactor: Use Tokio's single-threaded runtime (#3844) 2020-02-03 18:08:44 -05:00
errors.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
fetch.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
files.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
fs.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
io.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
mod.rs refactor: Use Tokio's single-threaded runtime (#3844) 2020-02-03 18:08:44 -05:00
net.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
os.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
permissions.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
plugins.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
process.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
random.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
repl.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
resources.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
runtime.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
runtime_compiler.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
signal.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
timers.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
tls.rs refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) 2020-02-08 20:34:31 +01:00
web_worker.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
worker_host.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00