local cast

This commit is contained in:
云风
2012-10-12 13:45:40 +08:00
parent e8afe6db20
commit 9aeb6f8ed8
6 changed files with 24 additions and 2 deletions

View File

@@ -118,6 +118,11 @@ skynet_start(struct skynet_config * config) {
fprintf(stderr,"launch logger error");
exit(1);
}
ctx = skynet_context_new("localcast", NULL);
if (ctx == NULL) {
fprintf(stderr,"launch local cast error");
exit(1);
}
ctx = skynet_context_new("snlua", "launcher");
if (ctx) {
ctx = skynet_context_new("snlua", config->start);