Skip to content

Improve hls runtime#20

Draft
soulomoon wants to merge 122 commits intomasterfrom
improve-hls-runtime
Draft

Improve hls runtime#20
soulomoon wants to merge 122 commits intomasterfrom
improve-hls-runtime

Conversation

@soulomoon
Copy link
Copy Markdown
Owner

No description provided.

Renames getOptions to getOptionsWorker for clarity
Removes redundant getOptionsLoop function
Ensures session loading is called under the same `Action` context
jian-lin and others added 4 commits August 31, 2025 11:26
…anup

- Replace ad-hoc AIO with structured concurrency (TVar + async registry); builder returns results directly; remove lazy splitIO/unsafePerformIO
- Reduce redundant thread creation; use per-key builderOne and STM retry instead of spawning; fewer races
- Add AsyncParentKill (ThreadId, Step) and treat it as async; use cancelWith from Shake to scope cancellation to the current session
- Mask critical sections and do uninterruptible cleanup on exception (mark Dirty) to avoid stuck Running and hangs
- Adjust types/wiring (Running payload, runAIO takes Step, compute/refresh signatures); minor tweaks in ghcide Shake/Plugin.Test

Fixes haskell#4718
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants