lock mechanism

This commit is contained in:
Roberto Ierusalimschy
1994-11-08 17:56:39 -02:00
parent aa7b1fcec4
commit 2cf954b8ae
4 changed files with 88 additions and 5 deletions

6
lua.h
View File

@@ -2,7 +2,7 @@
** LUA - Linguagem para Usuarios de Aplicacao
** Grupo de Tecnologia em Computacao Grafica
** TeCGraf - PUC-Rio
** $Id: lua.h,v 3.3 1994/11/07 16:34:44 roberto Exp $
** $Id: lua.h,v 3.4 1994/11/07 18:27:39 roberto Exp roberto $
*/
@@ -60,6 +60,10 @@ lua_Object lua_getsubscript (void);
int lua_type (lua_Object object);
int lua_lock (lua_Object object);
lua_Object lua_getlocked (int ref);
void lua_unlock (int ref);
/* for lua 1.1 */