Cloud Wu
28e8087029
fix #2115
2025-12-16 08:34:36 +08:00
iamwlj
9fd43778e2
Update skynet_main.c ( #1890 )
...
Putting the relevant code together makes it easier to understand
2024-03-18 18:58:54 +08:00
Cloud Wu
89f487e0a4
bugfix: init the lock of code cache at start
2019-07-02 23:08:54 +08:00
Cloud Wu
5d26fb3f18
remove ssm and add string id
2019-06-25 10:01:19 +08:00
Cloud Wu
2ceb642b5d
rewrite SSM and clonefunction
2019-06-10 15:11:51 +08:00
hwangcc23
596e8cfab2
Properly initialize sigaction struct
...
The code in skynet_main.c wasn't clearing the struct sigaction before passing it to sigaction().
This meant that we would block a random set of signals while executing the SIGPIPE handler, or jump to the uninitialized __sa_sigaction__ (instead of sa_handler).
Initialize properly as we do in skynet_start.c.
2017-08-31 22:38:50 +08:00
Cloud Wu
3a4a673b43
enhance config include
2017-03-21 11:49:04 +08:00
Cloud Wu
80d9ec379f
config support include
2017-03-20 14:32:05 +08:00
Cloud Wu
249ffb9362
add skynet.stat() to get cpu cost and message count
2016-10-26 17:43:52 +08:00
Cloud Wu
76d1e6fa1f
memory warning
2016-05-06 20:37:51 +08:00
Cloud Wu
c0862d8445
add global share string table
2015-08-21 13:52:04 +08:00
Cloud Wu
69946d75c5
add config.logservice for user defined log service
2015-05-30 22:17:53 +08:00
David Feng
fee96045ee
fix error output format
2015-03-03 17:00:29 +08:00
David Feng
cc136f996f
error report fix
2015-03-02 16:31:32 +08:00
Cloud Wu
0fb23f9ab8
remove default config name
2014-08-18 16:23:49 +08:00
Cloud Wu
f6fa6c7ded
timer support more than 497 days
2014-08-08 20:33:38 +08:00
Cloud Wu
a0b536718c
config can read ENV
2014-07-17 21:41:08 +08:00
Cloud Wu
1a44bfb09a
launch logger in C
2014-06-19 22:12:29 +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
8d8cb17e0a
launch all the bootstrap services in bootstrap.lua
2014-05-08 12:06:53 +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
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
a99befd44c
use skynet_malloc in skynet_realloc
2014-04-22 15:27:45 +08:00
Cloud Wu
75a28b0fcc
use skynet malloc api directly
2014-04-22 12:26:08 +08:00
Cloud Wu
7d835d222b
use macro for replace malloc api (see skynet_malloc.h)
2014-04-18 22:38:18 +08:00
Cloud Wu
0985b33f0f
modify lua
2014-03-26 15:58:56 +08:00
Cloud Wu
58aa7556a5
rewrite makefile, and remove luacode cache.
2014-03-26 15:13:30 +08:00
云风
1a7d960a36
return string in env would be better
2014-03-01 16:26:14 +08:00
云风
5516eca93a
remove xmalloc
2013-07-19 11:18:32 +08:00
云风
a018077472
sigign
2013-07-19 10:43:04 +08:00
云风
b6314b537f
skynet abort
2012-11-08 14:57:51 +08:00
云风
aed83ea5e8
lock free global mq
2012-10-11 19:25:13 +08:00
云风
564efd1b8b
snlua stat
2012-09-14 15:20:18 +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
云风
2126f54d72
move so from lualib to luaclib
2012-09-05 12:22:29 +08:00
云风
4f6826de40
new harbor
2012-08-17 11:50:45 +08:00
云风
eed9c42fd4
change source dir
2012-08-09 15:36:56 +08:00