keplerproject/coxpcall — pull request #8 by Tieske (2014-02-10 09:12:26+00:00)
Title: adds a parameter to running

Allowing to patch only problem locations instead of monkey patching coroutine.running. But retains full compatibility with coroutine.running behaviour (so still can monkey patch).

Adds to https://github.com/keplerproject/coxpcall/pull/7

Example:
```lua
local cocall = require("coxpcall")

local myfunc = function(coro)
coro = cocall.running(coro) -- convert to original coroutine
-- here do what needs to be done...
end
````