173 Commits

Author SHA1 Message Date
云风
db92f4abbf socket server added 2013-08-21 15:02:23 +08:00
云风
97a4844094 reserved protocol type id 2013-08-19 17:15:14 +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
云风
5516eca93a remove xmalloc 2013-07-19 11:18:32 +08:00
云风
a018077472 sigign 2013-07-19 10:43:04 +08:00
云风
a06846710a bugfix: HARBOR should be unsigned 2013-07-15 10:36:55 +08:00
云风
52a4ef8d13 register launcher name at skynet_start 2013-07-02 10:48:22 +08:00
云风
756d7f2a93 typo 2013-06-24 14:12:40 +08:00
云风
d30b8936e3 bugfix: blockcall dispatching 2013-02-01 15:30:21 +08:00
云风
045e3d5119 bugfix: blockcall 2013-02-01 15:06:26 +08:00
云风
ea7e5f7d97 skynet.blockcall concurrent bugfix 2013-01-31 21:18:53 +08:00
oyjw
feeaaec633 Update skynet-src/skynet_handle.c 2013-01-16 06:21:44 +08:00
云风
6bea883dbf Merge pull request #6 from Cofyc/macosx
最小化兼容处理
2012-12-20 01:54:30 -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
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