mirror of
https://github.com/denoland/deno.git
synced 2025-08-02 18:12:39 +00:00
Make Deno multithreaded.
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.
This commit is contained in:
parent
7c128df4a0
commit
4fd2b19f64
7 changed files with 392 additions and 210 deletions
|
@ -56,8 +56,6 @@ declare global {
|
|||
export const window = globalEval("this");
|
||||
window.window = window;
|
||||
|
||||
window.libdeno = null;
|
||||
|
||||
window.setTimeout = timers.setTimeout;
|
||||
window.setInterval = timers.setInterval;
|
||||
window.clearTimeout = timers.clearTimer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue