1
1
zrcadlo https://git.shadowkat.net/izaya/OC-PsychOS2.git synchronizováno 2024-09-28 15:12:45 -04:00

moved the creation of a sink fd into createterms

Tento commit je obsažen v:
XeonSquared 2019-01-09 15:56:19 +11:00
rodič 517d579bb9
revize bbacdc6dbd
2 změnil soubory, kde provedl 9 přidání a 9 odebrání

Zobrazit soubor

@ -6,3 +6,12 @@ for a,_ in component.list("gpu") do
local r,w = vtemu(a,table.remove(ts,1))
fd[#fd+1] = {["read"]=r,["write"]=w,["close"]=function() w("\27[2J\27[H") end,["t"]="t"}
end
if #fd < 1 then
local fdi,nfd = io.newfd()
function nfd.read()
end
function nfd.write()
end
function nfd.close()
end
end

Zobrazit soubor

@ -63,12 +63,3 @@ function io.open(f,m) -- opens file *f* with mode *m*
return t
end
end
do
local fdi,nfd = io.newfd()
function nfd.read()
end
function nfd.write()
end
function nfd.close()
end
end