lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Mar 22, 2009 at 1:28 PM, Thomas Harning Jr. <harningt@gmail.com> wrote:
> On Sat, Feb 14, 2009 at 8:11 AM, Nodir Temirhodzhaev
> <nodir.temir@gmail.com> wrote:
>> Patch for Lua 5.1.4:
>>
>> http://lua-users.org/files/wiki_insecure/users/tnodir/lua-5.1.4-finpatch.tar.gz
>>
>> Bugfix: Finalize resources after coroutine yields while using a resource and
>> garbage collected.
> Just wondering, has anyone else worked with this yet?
>
> Are there any potential blockers to this patch being included in a
> stable product (potential overflows/etc in 'normal' use)?
Another question... has this been tested in a multithreaded
environment... as in an environment where there are multiple threads
accessing the same 'global' Lua state with lua_Lock/Unlock performing
synchronization.

If there are any potential test scripts that could take advantage of
an api like ->

thread.create(fn) -> thread object
thread.join(thread object)

that would potentially expose problems?



-- 
Thomas Harning Jr.