Posted 30 January 2013 - 11:08 AM
i am making an os i want it to show the logo and sleep(2) then go to the next screen how do i make it run alot of code making functions while it is dislpaying the logo for 2 seconds
local dispLogo = function()
-- code to display logo
sleep(2)
-- code to run next program
end
local loadShellDrivers = function()
local driver1 = function(...)
-- code
end
local driver2 = function(...)
-- code
end
local driver3 = function(...)
-- code
end
end
parallel.waitForAll(dispLogo,loadShellDrivers)
Heard of edit? :P/>tesla1889 said:
yeah. too lazy lolHeard of edit? :P/>tesla1889 said:
yeah. too lazy lolHeard of edit? :P/>tesla1889 said: