mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
modify lua
This commit is contained in:
@@ -13,6 +13,14 @@ Run these in different console
|
||||
./client 127.0.0.1 8888 # Launch a client, and try to input some words.
|
||||
```
|
||||
|
||||
## About Lua
|
||||
|
||||
Skynet push a mondified version of lua 5.2.3 to 3rd/lua , it can share proto type between lua state (http://lua-users.org/lists/lua-l/2014-03/msg00489.html) .
|
||||
|
||||
Each lua file only load once and cache it in memory during skynet start, so if you want to reflush the cache , call skynet.cache.clear() .
|
||||
|
||||
You can also use the offical lua version , edit the makefile by yourself .
|
||||
|
||||
## Blog (in Chinese)
|
||||
|
||||
* http://blog.codingnow.com/2012/09/the_design_of_skynet.html
|
||||
|
||||
Reference in New Issue
Block a user