Skip to content

Commit

Permalink
Merge pull request #195 from cloudwu/dev
Browse files Browse the repository at this point in the history
release 0.8.1
  • Loading branch information
cloudwu committed Nov 3, 2014
2 parents 0f4a771 + 803a790 commit a77b715
Show file tree
Hide file tree
Showing 13 changed files with 344 additions and 487 deletions.
372 changes: 0 additions & 372 deletions 3rd/lua-mysqlaux/lua_mysqlaux.c

This file was deleted.

2 changes: 1 addition & 1 deletion 3rd/lua/lgc.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ static int traverseephemeron (global_State *g, Table *h) {
reallymarkobject(g, gcvalue(gval(n))); /* mark it now */
}
}
if (prop)
if (g->gcstate != GCSatomic || prop)
linktable(h, &g->ephemeron); /* have to propagate again */
else if (hasclears) /* does table have white keys? */
linktable(h, &g->allweak); /* may have to clean white keys */
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ $(LUA_CLIB_PATH)/sproto.so : lualib-src/sproto/sproto.c lualib-src/sproto/lsprot
$(LUA_CLIB_PATH)/lpeg.so : 3rd/lpeg/lpcap.c 3rd/lpeg/lpcode.c 3rd/lpeg/lpprint.c 3rd/lpeg/lptree.c 3rd/lpeg/lpvm.c | $(LUA_CLIB_PATH)
$(CC) $(CFLAGS) $(SHARED) -I3rd/lpeg $^ -o $@

$(LUA_CLIB_PATH)/mysqlaux.so : 3rd/lua-mysqlaux/lua_mysqlaux.c | $(LUA_CLIB_PATH)
$(LUA_CLIB_PATH)/mysqlaux.so : lualib-src/lua_mysqlaux.c | $(LUA_CLIB_PATH)
$(CC) $(CFLAGS) $(SHARED) $^ -o $@

clean :
Expand Down
1 change: 1 addition & 0 deletions examples/simpleweb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ skynet.start(function()
end
local balance = 1
local id = socket.listen("0.0.0.0", 8001)
skynet.error("Listen web port 8001")
socket.start(id , function(id, addr)
skynet.error(string.format("%s connected, pass it to agent :%08x", addr, agent[balance]))
skynet.send(agent[balance], "lua", id)
Expand Down
Loading

0 comments on commit a77b715

Please sign in to comment.