由于lua 不支持暂停 用其他方法变相实现

-- 暂停 hock 写法
function _M.sleep(n)
    if n > 0 then
        os.execute("ping -c " .. tonumber(n+1) .. " localhost > NULL") 
    end
	
	
end

相关文章:

  • 2022-01-21
  • 2021-04-18
  • 2021-12-12
  • 2021-12-12
  • 2021-11-10
  • 2021-08-17
  • 2021-08-30
  • 2021-09-20
猜你喜欢
  • 2021-08-31
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-02-08
  • 2021-10-24
相关资源
相似解决方案