63 Commits

Author SHA1 Message Date
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
Yecheng Fu
10eeb67128 BUG: console 里启动一个服务失败后,无法使用 abort 退出 skynet
FIX: init 模块前全局 context 计数加一,因为 init 失败后会去 release
context,此时会全局 context 计数减一。以前会因此导致全局 context
计数不准,而无法退出。
2012-12-20 17:17:21 +08:00
云风
b6314b537f skynet abort 2012-11-08 14:57:51 +08:00
云风
40d2f89443 reload snlua service 2012-10-27 22:48:38 +08:00
云风
a93e6b8868 multicast bugfix: don't hold context any more 2012-10-12 12:15:10 +08:00
云风
689108df60 endless monitior 2012-09-28 21:10:39 +08:00
云风
b46ba5838c add endless-loop monitor 2012-09-28 16:43:04 +08:00
云风
32dee2bbaa dbg for debug 2012-09-14 12:04:14 +08:00
云风
48f8a011a9 move launch log 2012-09-06 22:35:28 +08:00
云风
7b6cd315e1 improve error message 2012-09-06 20:43:25 +08:00
云风
a00016025e add skynet.blockcall 2012-09-05 14:34:09 +08:00
云风
eba15c820f use HANDLE_MASK & HANDLE_REMOTE_SHIFT 2012-09-04 11:19:41 +08:00
云风
8a839a6dae remove unused macro 2012-09-04 11:04:48 +08:00
云风
0a886cd57c support multi protocol 2012-08-31 21:18:19 +08:00
云风
1ee802c5c5 global group multicast 2012-08-30 23:31:33 +08:00
云风
161528e686 add harbor query api 2012-08-30 17:52:44 +08:00
云风
4610781498 remove broker and add group command 2012-08-30 17:26:48 +08:00
云风
1791becd09 change skynet_send api (use uint32_t instead of string) 2012-08-30 13:09:34 +08:00
云风
68fb35bdd0 multicast support 2012-08-29 22:31:28 +08:00