0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-15 01:57:09 -05:00
denoland-deno/ext
Bartek Iwańczuk 3bb357ef31
refactor(ext/node): worker_threads.isMainThread setup (#22785)
This commit changes how we figure out if we're running on main
thread in `node:worker_threads` module. Instead of relying on quirky
"magic variable" for a name to check if we're on main thread, we are
now explicitly passing this information during bootstrapping of the
runtime. As a side effect, `WorkerOptions.name` is more useful
and matches what Node.js does more closely (though not fully).

Towards https://github.com/denoland/deno/issues/22783
2024-03-14 10:11:28 -07:00
..
broadcast_channel 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
cache 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
canvas 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
console 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
cron 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
crypto 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
fetch 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
ffi 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
fs 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
http 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
io 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
kv 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
napi 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
net 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
node refactor(ext/node): worker_threads.isMainThread setup (#22785) 2024-03-14 10:11:28 -07:00
tls 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
url 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
web 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
webgpu 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
webidl 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
websocket 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30
webstorage 1.41.2 (#22791) 2024-03-08 13:02:21 +05:30