diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-09-18 11:53:16 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-25 17:02:49 -0400 |
commit | 4fd2b19f640d19e57511eb142b63e16c879ef6fd (patch) | |
tree | d45db774ca5d51ecaac5491aec68db0cbfdcdf27 /js | |
parent | 7c128df4a041f3b2c04725a0f5f3320db684d067 (diff) |
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.
Diffstat (limited to 'js')
-rw-r--r-- | js/globals.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/globals.ts b/js/globals.ts index 3e40db06c..d88e1b28d 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -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; |