[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Threads, tables and lua_ref.
- From: Leandro Pelorosso <vertexar@...>
- Date: Tue, 24 Apr 2007 14:20:10 -0700 (PDT)
Hi. I'm trying to create lots of threds and i'm having
troubles. I was wondering if someone could help me.
If I'm going to create lots of threads I would like to
keep their references somewhere else other than the
stack. Where can I store them?.
I know i can do this: luaL_ref(L, LUA_REGISTRYINDEX )
where L represents the new thread. But doing this i'm
using the registry table and i want to use a new table
created by me. I'm having troubles creating a new
table. I can't get the new table's index to use as
luaL_ref parameter.
Any idea?
Thanks a lot!!
Vertexar.
------------------------------------
Dark Designs
www.darkdesigns.com.ar
Sign our Guestbook!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com