Commit Graph

200 Commits

Author SHA1 Message Date
oyjw
feeaaec633 Update skynet-src/skynet_handle.c 2013-01-16 06:21:44 +08:00
云风
5828cc71fa log test bugfix 2013-01-09 12:19:16 +08:00
云风
148ed20b69 bugfix: redis multi result 2013-01-06 12:53:23 +08:00
云风
ac7f67f982 batch mode in redis 2013-01-06 12:15:59 +08:00
云风
1cf9e9d1ee Merge pull request #7 from Cofyc/fixbug
BUG: expand buffer 后所取的 slot 不正确,与下次要取的 slot 是同一个 slot。
2013-01-04 02:35:24 -08:00
Yecheng Fu
6319225b7a BUG: expand buffer 后所取的 slot 不正确,与下次要取的 slot 是同一个 slot。
FIX: 先 expand,再获取 slot 并移动 tail。
2013-01-04 18:10:01 +08:00
云风
74ac9403e8 remote map table must not be weak 2013-01-03 12:59:13 +08:00
云风
c10082a2b1 close socket when connect failed 2012-12-29 10:36:53 +08:00
云风
14d84e0055 remove close in lua-socket, because socket will be closed in connection service 2012-12-29 10:32:38 +08:00
云风
193a180c73 msg here never be nil 2012-12-28 10:57:02 +08:00
云风
6bea883dbf Merge pull request #6 from Cofyc/macosx
最小化兼容处理
2012-12-20 01:54:30 -08:00
云风
b5f0d4c130 Merge pull request #5 from Cofyc/fixbug
Fixbug
2012-12-20 01:33:24 -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
Yecheng Fu
0afea732d2 fixbug 应比较 handle 高 8 位 harbor id 是否与本地相等 2012-12-20 16:53:42 +08:00
Yecheng Fu
5eb87dc769 _POSIX_TIMERS & _POSIX_THREAD_CPUTIME 在 unistd.h
头文件定义,但并未包含。之前写法不正确,可以工作只是巧合。
现改为,默认使用 clock_gettime,当为 Max OSX 平台时,使用兼容方法。
2012-12-20 16:25:20 +08:00
云风
5d83155334 Create LICENSE 2012-12-13 23:27:26 -08:00
云风
8ce0211f44 Merge pull request #4 from Cofyc/macosx
Mac OSX 支持补丁
2012-11-28 20:58:08 -08:00
Yecheng Fu
6aca76ec7c fixbug timeout is in milliseconds... 2012-11-27 23:56:21 +08:00
Yecheng Fu
655a2b6acc convert spaces into tab
keep convention
2012-11-27 20:13:52 +08:00
Yecheng Fu
8f29655d25 compiles on macosx 2012-11-27 20:07:50 +08:00
云风
b6314b537f skynet abort 2012-11-08 14:57:51 +08:00
云风
37d8020155 gc after init snlua 2012-11-01 13:10:57 +08:00
云风
3fe87f04c2 remove assert in global mq 2012-10-30 16:53:06 +08:00
云风
40d2f89443 reload snlua service 2012-10-27 22:48:38 +08:00
云风
88c2af4884 bugfix: double free 2012-10-26 22:36:05 +08:00
云风
0ff2cf604c bugfix: cast empty group 2012-10-22 21:56:01 +08:00
云风
022b034c6a bugfix: socket block write 2012-10-18 16:27:53 +08:00
云风
ec325c73b2 bugfix: block write 2012-10-18 16:12:25 +08:00
云风
d16e00ee39 use nonblock write in lua socket 2012-10-18 14:02:11 +08:00
云风
491a8cd29b close fd when write failed 2012-10-18 13:47:53 +08:00
云风
9c6309ed71 return string after socket.write error 2012-10-18 12:08:05 +08:00
云风
2dc3cdc932 remove read barrier 2012-10-16 10:32:21 +08:00
云风
9bb385938e add write barrier 2012-10-16 10:23:43 +08:00
云风
115d9d9e2d bugfix: return nil when launch service failed 2012-10-12 15:44:49 +08:00
云风
aaf84ccb6f unique service 2012-10-12 15:34:10 +08:00
云风
1d59342e7b add service localcast 2012-10-12 14:07:33 +08:00
云风
57c3eb29b2 add localcast.h 2012-10-12 14:06:24 +08:00
云风
f3647338ce localcast message module 2012-10-12 14:05:22 +08:00
云风
6cab366840 typo fix 2012-10-12 13:58:08 +08:00
云风
9aeb6f8ed8 local cast 2012-10-12 13:45:40 +08:00
云风
e8afe6db20 global mq return NULL when it's not avaliable 2012-10-12 12:16:12 +08:00
云风
a93e6b8868 multicast bugfix: don't hold context any more 2012-10-12 12:15:10 +08:00
云风
4fb7fec2fa local group 2012-10-11 22:26:38 +08:00
云风
837e79949d bugfix: cas in gmq pop 2012-10-11 21:06:34 +08:00
云风
aed83ea5e8 lock free global mq 2012-10-11 19:25:13 +08:00
云风
4f6c4c0724 drop invalid session id in trace 2012-09-29 16:38:33 +08:00
云风
35ba9816ea bugfix: drop multicast package 2012-09-29 11:51:23 +08:00
云风
689108df60 endless monitior 2012-09-28 21:10:39 +08:00
云风
c50e465879 bugfix: retire an unexist handle 2012-09-28 17:52:54 +08:00
云风
b46ba5838c add endless-loop monitor 2012-09-28 16:43:04 +08:00