/usr/share/lua/5.1/cqueues/condition.lua is in lua-cqueues 20161214-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | local loader = function(loader, ...)
local core = require"_cqueues.condition"
local function check(self, why, ...)
if self == why then
return true, ...
else
return false, why, ...
end
end
local wait; wait = core.interpose("wait", function (self, ...)
return check(self, wait(self, ...))
end)
return core
end
return loader(loader, ...)
|