|
|
||
|
To implement "occasional threading" [1] in lua 5.2 the nCcalls should be counted per C stack. I've attached: - lua 5.2 patch to export function (lua_setCcalls) to set/get nCcalls; - testth.c and test.lua to test the patch. [1] http://lua-users.org/lists/lua-l/2006-11/msg00368.html -- Nodir
Attachment:
lua-5.2.0-beta-ccalls.patch
Description: Binary data
Attachment:
Makefile
Description: Binary data
Attachment:
test.lua
Description: Binary data
Attachment:
testth.c
Description: Binary data