Searched refs:twups (Results 1 - 5 of 5) sorted by relevance

/freebsd-11-stable/contrib/lua/src/
H A Dlfunc.h21 /* test whether thread is in 'twups' list */
22 #define isintwups(L) (L->twups != L)
H A Dlstate.h161 struct lua_State *twups; /* list of threads with open upvalues */ member in struct:global_State
190 struct lua_State *twups; /* list of threads with open upvalues */ member in struct:lua_State
H A Dlfunc.c76 L->twups = G(L)->twups; /* link it to the list */
77 G(L)->twups = L;
H A Dlgc.c314 lua_State **p = &g->twups;
318 p = &thread->twups; /* keep marked thread with upvalues in the list */
321 *p = thread->twups; /* remove thread from the list */
322 thread->twups = thread; /* mark that it is out of list */
542 /* 'remarkupvals' may have removed thread from 'twups' list */
544 th->twups = g->twups; /* link it back to the list */
545 g->twups = th;
H A Dlstate.c227 L->twups = L; /* thread has no upvalues */
325 g->twups = NULL;

Completed in 113 milliseconds