mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
17 lines
230 B
C
17 lines
230 B
C
#include "skynet_imp.h"
|
|
#include <stdlib.h>
|
|
|
|
int
|
|
main(void) {
|
|
struct skynet_config config;
|
|
|
|
config.thread = 8;
|
|
config.mqueue_size = 256;
|
|
config.module_path = "./";
|
|
config.logger = NULL;
|
|
|
|
skynet_start(&config);
|
|
|
|
return 0;
|
|
}
|