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

Add LL.check_stop() entry point and call it in fiber scheduler(). #1048

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

nat-goodspeed
Copy link
Collaborator

fiber.lua's scheduler() is greedy, in the sense that it wants to run every ready Lua fiber before retrieving the next incoming event from the viewer (and possibly blocking for some real time before it becomes available). But check for viewer shutdown before resuming any suspended-but-ready Lua fiber.

fiber.lua's scheduler() is greedy, in the sense that it wants to run every
ready Lua fiber before retrieving the next incoming event from the viewer (and
possibly blocking for some real time before it becomes available). But check
for viewer shutdown before resuming any suspended-but-ready Lua fiber.
Base automatically changed from lua-LL to release/luau-scripting March 26, 2024 14:21
@nat-goodspeed nat-goodspeed merged commit 31f1988 into release/luau-scripting Mar 26, 2024
11 checks passed
@nat-goodspeed nat-goodspeed deleted the lua-check-stop branch March 26, 2024 14:22
@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants