lua-users home
lua-l archive

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


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