diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-09 20:02:47 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-09 20:02:47 -0200 |
commit | f083812c020186d0d919833100c1a0b6eda8c2c0 (patch) | |
tree | 29c2e1d25f05af62277aab03e8e070aaa1a0d664 /lstate.c | |
parent | 3533382a1ed7ba21f0233057c886be2dd8a71d92 (diff) | |
download | lua-f083812c020186d0d919833100c1a0b6eda8c2c0.tar.gz lua-f083812c020186d0d919833100c1a0b6eda8c2c0.tar.bz2 lua-f083812c020186d0d919833100c1a0b6eda8c2c0.zip |
first implementation of coroutines
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -104,6 +104,7 @@ LUA_API lua_State *lua_newthread (lua_State *OL, int stacksize) { | |||
104 | } | 104 | } |
105 | } | 105 | } |
106 | if (OL) lua_unlock(OL); | 106 | if (OL) lua_unlock(OL); |
107 | lua_userstateopen(L); | ||
107 | return L; | 108 | return L; |
108 | } | 109 | } |
109 | 110 | ||