[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: state of the Lua nation on resource cleanup
- From: Leo Razoumov <slonik.az@...>
- Date: Wed, 21 Jan 2009 06:15:14 -0500 (EST)
On Wed, 21 Jan 2009, Petite Abeille wrote:
On Jan 21, 2009, at 12:17 AM, Leo Razoumov wrote:
How to achieve such assurances short of wrapping everything else in a pcall
What's wrong with pcall?
For starters, pcall/xpcall do not play nicely with coroutines.
You cannot yield across pcall/xpcall function boundaries.
This problem is addressed with coxpcall module in Kepler
but it is not part of official Lua distribution.