[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua registry ?
- From: J Doe <general@...>
- Date: Fri, 26 May 2017 17:39:45 -0400
Hi,
I am currently reading "Lua Programming Gems" (2008), and had a rather basic question about a term that is used.
The term appears in chapter 1, "Lua per-thread library context", on page 5. The author mentions the "Lua registry":
"The first one was using the Lua registry to connect each thread to a userdata representing the context. The thread itself could be used as the registry key."
I am aware that "Lua Programming Gems" references Lua 5.1. My question is: was the term "Lua registry" used at that time for the global memory address space ?
From the text it sounds like the author is describing a table, in global memory where the thread object is used as the "registry" key.
Thanks,
- J