157 Commits

Author SHA1 Message Date
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
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
云风
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
云风
2dc3cdc932 remove read barrier 2012-10-16 10:32:21 +08:00
云风
9bb385938e add write barrier 2012-10-16 10:23:43 +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
云风
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
云风
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
云风
a8714b116f fix typo 2012-09-21 20:18:36 +08:00
云风
e1e95cd52b launcher failed 2012-09-14 15:59:39 +08:00
云风
564efd1b8b snlua stat 2012-09-14 15:20:18 +08:00
云风
32dee2bbaa dbg for debug 2012-09-14 12:04:14 +08:00
云风
1c6267025a no need init(L) 2012-09-12 13:25:24 +08:00
云风
7e37bc6ee3 compat52 for luajit2 2012-09-11 19:54:12 +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
云风
5efee14582 bugfix: rwlock 2012-09-06 18:55:41 +08:00
云风
a00016025e add skynet.blockcall 2012-09-05 14:34:09 +08:00
云风
2126f54d72 move so from lualib to luaclib 2012-09-05 12:22:29 +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
云风
4d1781fe39 bugfix: dead lock in drop queue 2012-08-31 23:12:44 +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
云风
9dc2c041b4 fix typo 2012-08-28 22:20:02 +08:00
云风
0fc945581a init session id 2012-08-17 17:33:34 +08:00
云风
7871a149c2 context calling check 2012-08-17 17:26:42 +08:00
云风
897a850c49 bugfix: mq release 2012-08-17 16:49:06 +08:00
云风
4f6826de40 new harbor 2012-08-17 11:50:45 +08:00
云风
055ee29ce8 bugfix : start master 2012-08-16 11:54:06 +08:00
云风
be0b4ee0db bugfix: connection forward 2012-08-14 23:16:40 +08:00
云风
4a0265020f redesign connection module 2012-08-14 22:37:30 +08:00
云风
e7ed7c96fc global queue 2012-08-14 14:45:05 +08:00