Cloud Wu
3af6b72aed
close thread in suspend, See #1261
2020-12-04 15:42:35 +08:00
hong
693b962b43
to-be-closed ( #1261 )
2020-12-01 11:51:35 +08:00
Cloud Wu
b6354a0490
Add skynet.killthread() and debugcommand killtask
2020-10-14 14:12:29 +08:00
云风
eaa60ca8dd
Update to lua 5.4 ( #1174 )
...
* update to lua 5.4.0-rc1
* remove LUA_ERRGCMM
* use age bits for shared
* remove unused lbitlib.c
* use luaV_fastget
* fix #1174
* suspend函数tailcall优化
* 防止没有session导致未调用suspend
* luaH_setint check shared (#1184 )
* set LUA_GCGEN by default
* fix #1174 (#1186 )
checkshared in sweeplist
* update to lua 5.4 rc2
* update to lua 5.4 rc4
* move skynet.profile into snlua
* Use lua_sethook to interrupt tight loops
* remove lua_checksig
* critical condition for signals
* update to lua 5.4 released
* lua 5.4 bugfix
* update lua bugfix
* fix lua_sharestring (#1224 )
* update lua
* update lua 5.4
* update README
* add skynet.select
* add test
* test error & discard
* yield session
* request error has no error message
* add timeout to skynet.select
* bugfix
* for lua 5.4
* new version
* bugfix
* bugfix
* use if instead of while
* make local
* yield in select for
* update lua 5.4.1
* change lua version (#1245 )
Co-authored-by: xiaojin <xiaojin@onemt.com.cn >
* update lua version number
Co-authored-by: hong <hongling0@gmail.com >
Co-authored-by: hong <hongling-0@qq.com >
Co-authored-by: 风---自由 <996442717qqcom@gmail.com >
Co-authored-by: xiaojin <xiaojin@onemt.com.cn >
2020-10-10 13:36:59 +08:00
Cloud Wu
c749b13010
Revert "srv may be a local name, see #1220 "
...
This reverts commit 875b7683c6 .
2020-07-28 16:13:05 +08:00
Cloud Wu
875b7683c6
srv may be a local name, see #1220
2020-07-28 15:59:00 +08:00
Cloud Wu
6de4a012a7
fix #1154
2020-02-18 16:05:47 +08:00
Cloud Wu
41c66d1b20
add skynet.trace_timeout(on), see #1098
2019-10-22 16:11:36 +08:00
Cloud Wu
82ed7efb1b
use traceback
2019-10-22 15:25:39 +08:00
wudeng
4ddc1577ef
fix: coroutine leak when dispatch failed
2019-10-10 11:25:12 +08:00
wudeng
478575436b
uniqtask for gm
2019-08-27 21:58:47 +08:00
Cloud Wu
9b69af0a4d
use tinsert instead of table.insert
2019-05-06 10:29:23 +08:00
Cloud Wu
4159600fbc
order fork, see #1000
2019-04-28 09:53:52 +08:00
Cloud Wu
304272249e
fix #919
2018-11-14 11:43:23 +08:00
Cloud Wu
e0f16b8df5
remove dead_service table, address may reused
2018-10-15 10:05:23 +08:00
Cloud Wu
7e57e498f6
remove dead_service table, address may reused
2018-10-08 15:44:12 +08:00
Hanlei Qin
818ff8314d
remove unused code
2018-09-27 09:59:18 +08:00
Cloud Wu
89e7a06deb
add more info when service init blocked
2018-09-13 18:27:05 +08:00
Cloud Wu
c96e20e6c3
add skynet.context and enhance debug console command service
2018-09-06 18:59:33 +08:00
Cloud Wu
281acf4c71
Use fork instead of timeout 0, see #873
2018-08-07 14:55:26 +08:00
Cloud Wu
e55ad63d3c
fix #873
2018-08-07 09:43:50 +08:00
Cloud Wu
3a1556e1fd
add new debug command trace
2018-06-08 11:24:27 +08:00
Cloud Wu
4b5fbab129
recycle coroutine bugfix
2018-06-08 10:23:36 +08:00
Cloud Wu
b1ec1f4d18
token bugfix
2018-06-08 10:23:36 +08:00
Cloud Wu
16d8f4c774
cleanup
2018-06-08 10:23:36 +08:00
Cloud Wu
f8b5ec48e8
support user tag
2018-05-28 23:13:05 +08:00
Cloud Wu
7a26926965
resume trace log
2018-05-28 21:45:41 +08:00
Cloud Wu
9035fbe96b
cluster trace
2018-05-28 16:39:04 +08:00
Cloud Wu
d6f265e703
call skynet.trace() in example
2018-05-26 17:37:19 +08:00
Cloud Wu
596c77afcd
trace bugfix
2018-05-26 17:17:20 +08:00
Cloud Wu
e53d985c4f
add skynet.trace()
2018-05-26 16:26:50 +08:00
Cloud Wu
348e53245b
skynet.wait use token instead of coroutine.running()
2018-05-25 10:42:58 +08:00
Cloud Wu
2fde0a0ae4
log error when forget response a session. Add skynet.ignoreret()
2018-05-24 16:53:27 +08:00
Cloud Wu
a9852273cb
add addresscommand
2018-04-17 10:47:41 +08:00
Cloud Wu
990bede9b2
can't setenv more than once
2017-08-08 20:35:45 +08:00
Cloud Wu
f1ed482001
move to skynet module
2017-06-01 11:29:07 +08:00
Cloud Wu
a7be332023
don't check response, because gate use a fake session for PTYPE_CLIENT
2017-04-26 18:01:05 +08:00
Cloud Wu
3fb46241f2
raise error when you forget response the request, fix issue #625
2017-04-25 11:38:29 +08:00
Cloud Wu
6fa241453c
redirect support alloc session
2017-04-07 11:11:39 +08:00
Cloud Wu
2a79d7bed9
add FAQ in comment
2017-03-31 17:51:11 +08:00
Cloud Wu
6289b2b8e4
complete cluster.send
2017-03-25 00:10:23 +08:00
Cloud Wu
cb19ab54e9
keep skynet.wakeup order, see issue #587
2017-03-13 17:01:41 +08:00
Cloud Wu
ca290355fa
add assert
2017-03-03 10:52:25 +08:00
Cloud Wu
2b55bc57a4
do not response send, may fix issue #578
2017-03-02 14:21:56 +08:00
Cloud Wu
a3eccf5e37
trash message
2016-12-02 20:49:16 +08:00
Cloud Wu
ace41d7c22
clusterd support send
2016-12-02 20:43:06 +08:00
Wei Yao
060e5384f5
skynet.lua raw_dispatch_message
...
似乎少了个session判断
2016-12-02 11:43:14 +08:00
Cloud Wu
249ffb9362
add skynet.stat() to get cpu cost and message count
2016-10-26 17:43:52 +08:00
dpull
bf5b74b6ca
重新设计debug.lua接口
2016-06-12 16:29:47 +08:00
Cloud Wu
b8bb327f98
make coroutine_pool weak would be better
2016-06-06 16:23:39 +08:00