This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
ladybird
Watch
2
Star
0
Fork
You've already forked ladybird
0
mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced
2025-10-20 08:03:21 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
c846616d51
ladybird
/
Libraries
/
LibWeb
/
Worker
/
WebWorkerClient.ipc
4 lines
55 B
Text
Raw
Normal View
History
Unescape
Escape
LibWeb+WebWorker: Move worker execution into a new WebWorker process We now create a WorkerAgent for the parent context, which is currently only a Window. Note that Workers can have Workers per the spec. The WorkerAgent spawns a WebWorker process to hold the actual script execution of the Worker. This is modeled with the DedicatedWorkerHost object in the WebWorker process. A start_dedicated_worker IPC method in the WebWorker IPC creates the WorkerHost object. Future different worker types may use different IPC messages to create their WorkerHost instance. This implementation cannot yet postMessage between the parent and the child processes. Co-Authored-By: Andreas Kling <kling@serenityos.org>
2023-11-08 11:47:41 -07:00
endpoint WebWorkerClient {
LibWeb+WebWorker: Add IPC messages to request and communicate shutdown
2024-07-09 03:00:06 -06:00
did_close_worker() =|
LibWeb+WebWorker: Move worker execution into a new WebWorker process We now create a WorkerAgent for the parent context, which is currently only a Window. Note that Workers can have Workers per the spec. The WorkerAgent spawns a WebWorker process to hold the actual script execution of the Worker. This is modeled with the DedicatedWorkerHost object in the WebWorker process. A start_dedicated_worker IPC method in the WebWorker IPC creates the WorkerHost object. Future different worker types may use different IPC messages to create their WorkerHost instance. This implementation cannot yet postMessage between the parent and the child processes. Co-Authored-By: Andreas Kling <kling@serenityos.org>
2023-11-08 11:47:41 -07:00
}
Reference in a new issue
Copy permalink