perf: automatically suspend the scheduler when all threads are waiting (#1591)

* perf: automatically suspend the scheduler when all threads are waiting

* ci: fix ci

* test: cleanup
This commit is contained in:
Folke Lemaitre 2024-06-30 08:48:03 +02:00 committed by GitHub
parent 0507e19289
commit c7ed87f9ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 81 additions and 54 deletions

View file

@ -21,6 +21,7 @@ M.log = {
---@async
---@param opts {args?: string[], updated?:boolean, check?:boolean}
run = function(self, opts)
-- self:spawn({ "sleep", "5" })
local args = {
"log",
"--pretty=format:%h %s (%cr)",