526 Commits

Author SHA1 Message Date
Cloud Wu
1a169ec413 remove malloc hook when disable jemalloc v0.1.1 2014-04-28 15:23:42 +08:00
云风
009e15556d Merge pull request #100 from cloudwu/notusejemalloc
fix makefile for better platform support
2014-04-28 14:34:47 +08:00
Cloud Wu
1170acc792 fix makefile for better platform support 2014-04-28 14:31:51 +08:00
Cloud
37cb126812 Not use jemalloc on macosx, See Issue #99 2014-04-28 13:48:50 +08:00
Cloud Wu
aa65dac9ed Rewrite socketchannel, make it clear. 2014-04-25 11:53:30 +08:00
云风
672e218311 Merge pull request #98 from cloudwu/bugfix
Bugfix: socket channel reconnect
2014-04-24 23:14:21 +08:00
Cloud Wu
f7783d3881 bugfix: socket channel reconnect 2014-04-24 23:08:35 +08:00
Cloud Wu
b65757d8bf Clear request queue when channel disconnected 2014-04-24 19:59:50 +08:00
Cloud Wu
0e5f17e232 add socket.bind v0.1.0 2014-04-22 20:28:54 +08:00
云风
2e1a035072 Merge pull request #96 from cloudwu/profile
Profile
2014-04-22 20:27:01 +08:00
Cloud Wu
4abfc2ced2 return 0 while task_info error 2014-04-22 20:00:59 +08:00
Cloud Wu
94f6c63849 use macro NANOSEC MICROSEC 2014-04-22 19:52:19 +08:00
Cloud Wu
277bc79fb7 bugfix: profile queue accept 2014-04-22 19:38:20 +08:00
Cloud Wu
960bd23c56 add profile module, and use it in snax 2014-04-22 18:27:41 +08:00
Cloud Wu
387b95026d Merge branch 'master' of github.com:cloudwu/skynet 2014-04-22 16:19:08 +08:00
Cloud Wu
b6c208cf51 try connect only once at first time 2014-04-22 16:18:49 +08:00
云风
f91a2a01d1 Merge pull request #95 from cloudwu/malloc
Use skynet_malloc api directly
2014-04-22 15:30:18 +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
Cloud Wu
08c511160f change name from pub/subscribe to post/accept 2014-04-22 11:40:08 +08:00
Cloud Wu
56fdbef851 remove snax global set limit 2014-04-21 19:48:29 +08:00
云风
fbf3953125 Merge pull request #94 from xjdrew/master
add skynet.retpack, skynet.dispatch_unknown_request
2014-04-21 17:53:45 +08:00
xjdrew
c081816f06 1. 可以在服务运行中动态require socket
2. 添加方法skynet.retpack/skynet.dispatch_unknown_request
3. skynet.filter透传参数
2014-04-21 17:50:04 +08:00
Cloud Wu
d0dc729f4b mongo client : copy table 2014-04-21 17:05:22 +08:00
Cloud Wu
72d565dd22 remove redis config file, use table directly 2014-04-21 15:08:10 +08:00
云风
5db65a68a8 Merge pull request #93 from van9ogh/master
Change jemalloc repositories to https
2014-04-21 10:43:18 +08:00
Liu Peng
ebe2283a10 Update .gitmodules
change jemalloc submodule from ssh to https
2014-04-21 08:47:45 +08:00
Cloud
c577a4f07d quickfix: ssize_t 2014-04-18 23:47:00 +08:00
云风
37233e70e6 Merge pull request #91 from cloudwu/jemalloc
Use macro for memory hook
2014-04-18 23:42:06 +08:00
Cloud Wu
23764545bb rewrite get_allocated_field 2014-04-18 23:40:50 +08:00
Cloud Wu
2680425b4f handle is uint32_t 2014-04-18 23:24:03 +08:00
Cloud Wu
25c8f1ee08 bugfix: SLOT_SIZE should be 64K 2014-04-18 23:07:45 +08:00
Cloud
d21ff9d759 add memory lua lib 2014-04-18 22:48:10 +08:00
Cloud Wu
7d835d222b use macro for replace malloc api (see skynet_malloc.h) 2014-04-18 22:38:18 +08:00
Cloud
23cfb11954 bugifx: clean prefix 2014-04-18 18:35:37 +08:00
Cloud Wu
b6b639b204 check 3rd/jemalloc/autogen.sh 2014-04-18 18:20:13 +08:00
Cloud Wu
237c2323d6 add git submoudle update to makefile 2014-04-18 18:16:46 +08:00
Cloud Wu
ae0ceedfc2 detect JEMALLOC_OVERRIDE_MEMALIGN 2014-04-18 18:02:53 +08:00
Cloud Wu
072b603c1c bugfix: use memcpy for unalign memory 2014-04-18 17:48:17 +08:00
Cloud Wu
ac1a0a4c99 malloc hook for jemalloc and c memory info dump 2014-04-18 17:38:18 +08:00
Cloud Wu
5b68dc6a17 add submodules jemalloc 2014-04-18 15:27:31 +08:00
云风
d0fe189fd6 Merge pull request #90 from cloudwu/simplify
Simplify
2014-04-18 14:45:26 +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
云风
2fc7ceda44 fix typo 2014-04-17 20:48:20 +08:00
云风
e9277dda93 Merge pull request #88 from wsk3201/fixnetpack
bugfix: netpack
2014-04-17 19:51:39 +08:00
云风
1aca253dbe Merge pull request #89 from cloudwu/snax
snax :  : a simple skynet auxliliary framework
2014-04-17 19:41:45 +08:00
Cloud Wu
6c6f9d6fac no return value for exit() 2014-04-17 15:37:46 +08:00
Cloud Wu
129b1cd90e queue mode 2014-04-17 15:37:01 +08:00