189 Commits

Author SHA1 Message Date
Cloud Wu
3bc7304609 skynet.localname return nil when the name not exist 2014-07-13 19:37:08 +08:00
Cloud Wu
d05859b766 gate support TCP_NODELAY 2014-07-09 12:03:44 +08:00
Cloud Wu
fe5c73b1e8 socket id can't be less then 0 2014-07-09 11:25:28 +08:00
Cloud Wu
35775685c3 add worker dispatch weight 2014-07-08 19:56:30 +08:00
Cloud Wu
2b9efcec3f revert 2014-06-26 15:12:16 +08:00
Cloud Wu
d343f3b374 use atomic operation 2014-06-26 15:06:47 +08:00
Cloud Wu
ceeb9912bf typo 2014-06-26 14:04:57 +08:00
Cloud Wu
36cab8e060 add skynet.time() 2014-06-25 11:15:28 +08:00
xjdrew
e0d8b00226 bugfix: ntp校验时把时间往后调整 2014-06-25 10:53:56 +08:00
xjdrew
1cbe639186 bugfix: time rewind 2014-06-25 00:50:42 +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
c3eb5cd202 After connecting, socket can send before connected. remove block connect api 2014-06-20 02:49:48 +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
cd0a1a495e optimize timer 2014-05-28 11:30:39 +08:00
Cloud Wu
39c5e13d1a Merge branch 'dev' of github.com:cloudwu/skynet into dev 2014-05-26 13:42:07 +08:00
Cloud Wu
e1a72bd820 optimize message dispatch 2014-05-26 13:40:49 +08:00
Cloud Wu
f77482024e Merge branch 'master' into dev 2014-05-26 13:23:59 +08:00
Cloud Wu
866e59811e remove unused mq api 2014-05-26 13:23:57 +08:00
Cloud Wu
f3b1f5be51 bugfix: check globalmq push is complete 2014-05-26 13:18:09 +08:00
Cloud
0fcab96431 daemon is deprecarted in macosx 2014-05-23 16:52:24 +08:00
Cloud Wu
e765d3c305 don't unlock pidfile after write pid 2014-05-23 14:06:41 +08:00
Cloud Wu
8005b55ef5 add pidfile for daemon 2014-05-23 13:24:02 +08:00
Cloud Wu
1ce90b7d17 daemon mode 2014-05-23 10:54:54 +08:00
Cloud Wu
37ea7a025c single node mode 2014-05-22 22:44:20 +08:00
Cloud Wu
90cd967333 concurrence bugfix 2014-05-22 11:24:36 +08:00
Cloud Wu
a5df196e92 use skynet_error for memory dump 2014-05-16 17:36:49 +08:00
Cloud Wu
a2ad158dbc update PTYPE_* macro 2014-05-16 15:01:25 +08:00
Cloud Wu
02f2f88b6d Fix issue #109 2014-05-13 13:35:37 +08:00
Cloud Wu
29917efad7 add MAX_SLOT_SIZE limit 2014-05-13 11:09:15 +08:00
Cloud Wu
7dff50d21d merge pr 103 2014-05-12 11:04:58 +08:00
Cloud Wu
8d8cb17e0a launch all the bootstrap services in bootstrap.lua 2014-05-08 12:06:53 +08:00
Cloud Wu
4e00fce360 remove the limit of global queue size 2014-05-07 14:57:19 +08:00
Cloud Wu
2d19b6cac1 add comments for flags array 2014-05-07 13:51:32 +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
0c4e2450a7 bugfix: ud is the second parm 2014-05-06 14:45:24 +08:00
Cloud Wu
6a6d9db54d remove blockcall 2014-05-06 13:41:44 +08:00
Cloud Wu
d16159c166 add lua loader 2014-04-29 19:59:04 +08:00
Cloud Wu
f6e67b7493 add bootstrap script 2014-04-29 13:44:30 +08:00
Cloud Wu
34771ff7c7 use malloc symbol for hook 2014-04-28 21:09:59 +08:00
Cloud Wu
45df4f2e71 rebase v0.1.1 and remove malloc_inithook 2014-04-28 15:41:40 +08:00
Cloud Wu
bad9a5fc54 use pthread_getspecific instead of __thread 2014-04-28 15:31:38 +08:00
Cloud Wu
1a169ec413 remove malloc hook when disable jemalloc 2014-04-28 15:23:42 +08:00
Cloud
37cb126812 Not use jemalloc on macosx, See Issue #99 2014-04-28 13:48:50 +08:00
Cloud Wu
a99befd44c use skynet_malloc in skynet_realloc 2014-04-22 15:27:45 +08:00
Cloud Wu
61c8c765f4 use skynet_malloc api 2014-04-22 15:17:16 +08:00
Cloud Wu
75a28b0fcc use skynet malloc api directly 2014-04-22 12:26:08 +08:00