Skip to content

Upstream dual-thread check from miso-lynx.#1404

Draft
dmjio wants to merge 6 commits into
masterfrom
miso-lynx-upstream
Draft

Upstream dual-thread check from miso-lynx.#1404
dmjio wants to merge 6 commits into
masterfrom
miso-lynx-upstream

Conversation

@dmjio
Copy link
Copy Markdown
Owner

@dmjio dmjio commented Feb 9, 2026

miso-lynx executes a single application on two JS interpreters (MTS / BTS). This PR introduces conditional checks to detect which interpreter is currently executing.

The main thread logic primarily runs in JS, so this PR currently exits the Haskell main thread, this is subject to change.

This PR only applies to the new JS backend, not WASM.

  • Drop logging
  • Introduces bts function
  • Uses delegator from eventContext

dmjio added 6 commits February 8, 2026 23:16
`miso-lynx` executes a single application on two
JS interpreters (MTS / BTS). This PR introduces conditional checks to detect which
interpreter is currently executing.

The main thread logic primarily runs in JS, so this PR currently
exits the main thread, this is subject to change.

This PR only applies to the new JS backend, not WASM.

- [ ] Drop logging
@dmjio dmjio force-pushed the master branch 3 times, most recently from 3c337c8 to 863bafa Compare May 18, 2026 22:54
@dmjio dmjio force-pushed the master branch 3 times, most recently from 3f8ac8b to eb9fa23 Compare May 25, 2026 11:48
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