1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext
Bartek Iwańczuk 93b9d114a4
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-08 17:31:11 +01:00
..
broadcast_channel chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
cache chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
canvas chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
console chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
cron chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
crypto chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
fetch chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
ffi chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
fs chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
http chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
io chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
kv chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
napi chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
net chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
node refactor(ext/node): worker_threads.isMainThread setup (#22785) 2024-03-08 17:31:11 +01:00
tls chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
url chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
web chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
webgpu chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
webidl chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
websocket chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00
webstorage chore: forward v1.41.2 release commit to main (#22793) 2024-03-08 09:12:36 +00:00