Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Task node support #471

Merged
merged 19 commits into from
Feb 17, 2025
Merged

Implement Task node support #471

merged 19 commits into from
Feb 17, 2025

Conversation

lvcabral
Copy link
Owner

Implemented the support for executing a Task as a Worker thread, reusing the Payload and running another instance of the Interpreter. Some limitations are still in place:

  • Only 10 tasks supported (until proper performance tests are done)
  • The m and m.global are snapshots, not sharing updates with Main thread
  • In the task init you can only observe using a single roMessagePort object.
  • Not all BrightScript objects, created during init and stored at m can be transferred.
  • The memory file system (tmp:, cachefs:) are not shared among threads.

@lvcabral lvcabral merged commit a140b08 into scenegraph Feb 17, 2025
2 checks passed
@lvcabral lvcabral deleted the implement-Task-node branch February 17, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant