Skip to content

Conversation

@sav
Copy link
Collaborator

@sav sav commented Dec 3, 2024

No description provided.

@sav sav requested a review from lneto December 3, 2024 21:48
stop(env.threads, script)
end)
rcu.map(env.runtimes, function (name)
stop(env.runtimes, name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why don't we need to stop percpu here as well?

function runner.percpu(script, ...)
local script = trim(script)
local runtimes = {}
local args = {...}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need this, right? couldn't we just pass ... along?

function runner.run(script, ...)
local script = trim(script)
if env.runtimes[script] then
local function runtime_name(script, cpu)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found it a bit misnomer.. not sure if it would be cleaner to use script .. ":" .. cpu directly in place..

@lneto lneto force-pushed the master branch 2 times, most recently from 08920ce to 33e4e42 Compare February 10, 2025 22:17
@lneto lneto force-pushed the master branch 2 times, most recently from 17ac113 to 925bfd9 Compare July 14, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants