yield friendly pcall (or pcall friendly yield)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: yield friendly pcall (or pcall friendly yield)
- From: Mark Hamburg <mhamburg@...>
- Date: 2008年2月21日 09:17:00 -0800
So, Lua 5.2 will have a yield friendly pcall. How easy is this to backport
into Lua 5.1.x via a patch?
I'm in the process of fixing a bug with a case where pcall is fighting with
yield. While the efficient thing this morning is to go use our
yield-friendly-but-more-expensive pcall substitute, I would love to stop
fixing these issues.
Mark