Skip to content

Commit

Permalink
update ltask
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Mar 15, 2024
1 parent 1d93e98 commit 8bf3b94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 3rd/ltask
Submodule ltask updated 4 files
+1 −0 src/config.h
+114 −61 src/ltask.c
+18 −0 src/service.c
+2 −0 src/service.h
2 changes: 1 addition & 1 deletion engine/firmware/io.lua
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ local function ltask_init(path, mem)
f(data)
end

local waitfunc, fd = exclusive.eventinit()
local waitfunc, fd = ltask.eventinit()
local ltaskfd = socket.fd(fd)
local function read_ltaskfd()
waitfunc()
Expand Down
2 changes: 1 addition & 1 deletion engine/game/io.lua
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ local function ltask_init(path, mem)
assert(fastio.loadlua(mem, path))(true)
ltask = require "ltask"
ltask.dispatch(CMD)
local waitfunc, fd = exclusive.eventinit()
local waitfunc, fd = ltask.eventinit()
local ltaskfd = socket.fd(fd)
-- replace schedule_message
function schedule_message()
Expand Down

0 comments on commit 8bf3b94

Please sign in to comment.