Re: PATCH: Fully Resumable VM (yield across pcall/callback/meta/iter)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: PATCH: Fully Resumable VM (yield across pcall/callback/meta/iter)
- From: Ben Sunshine-Hill <sneftel@...>
- Date: 2005年2月15日 10:52:42 -0800
Apologies if I'm missing something obvious, but under this patch, what
features are in place to prevent resource leaks with a C function that
allows yielding after having locked a resource, and then is never
resumed (thread is GCed)? Obviously, one could stick a userdata on the
stack with a custom __gc for cleanup, but is there a less roundabout
way?
Ben