Commit Graph

81 Commits

Author SHA1 Message Date
Cloud Wu
ffe5de468e add skynet.stat 'time' 2016-10-26 18:01:22 +08:00
Cloud Wu
249ffb9362 add skynet.stat() to get cpu cost and message count 2016-10-26 17:43:52 +08:00
Cloud Wu
2252409eaa add skynet_now() for 64bit time 2015-11-16 19:48:38 +08:00
Cloud Wu
eb587c63d3 fix issue #327 2015-08-21 19:42:09 +08:00
Cloud Wu
bf8f9b8654 add pthread lock 2015-08-13 21:00:20 +08:00
Cloud Wu
aff73cbed7 Increase message size 16M(24bit) limit to 56bit on 64bit arch 2015-08-05 12:23:35 +08:00
Harry
d3ac522dc6 typo in type of variable 2015-06-05 19:04:43 +08:00
Cloud Wu
a0ffff8ad6 add module signal and hack lua to support it :) 2015-03-11 15:10:53 +08:00
Cloud Wu
954625a530 fix issue #190 2014-10-28 16:48:35 +08:00
Cloud Wu
01e1a6aafa fix issue #189 2014-10-28 16:04:01 +08:00
Cloud Wu
4a8bf4f39a bugfix: harbor service should not release before others 2014-10-10 20:13:53 +08:00
Cloud Wu
2f6bfe9104 add message overload warning 2014-10-08 22:42:01 +08:00
Cloud Wu
16f63df0c3 add message log 2014-08-22 15:30:35 +08:00
Cloud Wu
978e010e67 add cluster.proxy and cluster.ncall 2014-08-13 17:49:30 +08:00
Cloud Wu
0954a906f4 skynet.redirect support string address 2014-08-11 15:29:48 +08:00
Cloud Wu
8e09fad233 remove unused skynet_context_init 2014-07-29 10:31:45 +08:00
Cloud Wu
3bc7304609 skynet.localname return nil when the name not exist 2014-07-13 19:37:08 +08:00
Cloud Wu
35775685c3 add worker dispatch weight 2014-07-08 19:56:30 +08:00
Cloud Wu
3cadd29796 don't throw error when destination address is invalid 2014-06-24 19:32:15 +08:00
Cloud Wu
db952dc658 report too long message error, instead of assert 2014-06-24 19:22:18 +08:00
Cloud Wu
1a44bfb09a launch logger in C 2014-06-19 22:12:29 +08:00
Cloud Wu
ad9898a209 add module skynet.harbor 2014-06-19 15:43:41 +08:00
Cloud Wu
f92fc153e4 bugfix: in freebsd, libthr may call calloc before globalinit 2014-06-04 02:51:29 +00:00
Cloud Wu
e1a72bd820 optimize message dispatch 2014-05-26 13:40:49 +08:00
Cloud Wu
866e59811e remove unused mq api 2014-05-26 13:23:57 +08:00
Cloud Wu
7dff50d21d merge pr 103 2014-05-12 11:04:58 +08:00
Cloud Wu
915c28c522 drop message not report to skynet_error at all 2014-05-06 15:06:59 +08:00
Cloud Wu
a700abcdb3 remove skynet.watch, move simplemonitor to examples 2014-05-06 14:57:01 +08:00
Cloud Wu
6a6d9db54d remove blockcall 2014-05-06 13:41:44 +08:00
Cloud Wu
bad9a5fc54 use pthread_getspecific instead of __thread 2014-04-28 15:31:38 +08:00
Cloud Wu
75a28b0fcc use skynet malloc api directly 2014-04-22 12:26:08 +08:00
Cloud Wu
7d835d222b use macro for replace malloc api (see skynet_malloc.h) 2014-04-18 22:38:18 +08:00
Cloud Wu
ac1a0a4c99 malloc hook for jemalloc and c memory info dump 2014-04-18 17:38:18 +08:00
Cloud Wu
cfbd68b85a check callback return value for reserve the message 2014-04-18 14:25:36 +08:00
Cloud Wu
d568e54c63 delete unused feature : group/localcast/forward, etc 2014-04-18 14:25:36 +08:00
云风
0505b88f5e add debug_console service 2014-02-25 20:04:50 +08:00
云风
69e179a52e add skynet command MQLEN for debug 2014-02-21 15:03:20 +08:00
云风
f54776e181 bugfix: log 2013-12-18 14:22:56 +08:00
云风
5ccb666a8b use skynet_error for log 2013-12-18 12:25:58 +08:00
云风
bb20628ebe bugfix: monitor exit 2013-12-18 11:54:01 +08:00
云风
f7242294dd add skynet.watch for skynet.call, read http://blog.codingnow.com/2013/12/skynet_monitor.html 2013-12-09 17:54:46 +08:00
云风
c972b647bd error on call an invalid address 2013-09-18 17:41:25 +08:00
云风
8743a6b030 bugfix: Issue #38 2013-09-12 13:35:23 +08:00
云风
fd67d2f968 push message back to queue before harbor connect to master 2013-09-10 18:09:04 +08:00
云风
1b5652e374 add cond_wait for socket message 2013-08-23 19:41:11 +08:00
云风
dd188fd528 bugfix: don't free buffer where DONTCOPY tag was not set 2013-08-16 16:03:57 +08:00
云风
ff6e4dc762 exit monitor 2013-08-06 13:44:41 +08:00
云风
6be6a8171f session id always be positive 2013-08-02 11:05:31 +08:00
云风
ba22224a4a add QUERY command to query local service address 2013-07-29 21:05:03 +08:00
云风
ea7e5f7d97 skynet.blockcall concurrent bugfix 2013-01-31 21:18:53 +08:00