[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [Proposal] Thread Metatable
- From: "Soni L." <fakedme@...>
- Date: Tue, 23 Jun 2015 13:06:08 -0300
Currently threads don't have a metatable:
Lua 5.3.0 Copyright (C) 1994-2015 Lua.org, PUC-Rio
> co = coroutine.create(function() print"test" end)
> co:resume()
stdin:1: attempt to index a thread value (global 'co')
stack traceback:
stdin:1: in main chunk
[C]: in ?
Can we get a thread metatable?
--
Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.