lock free global mq

This commit is contained in:
云风
2012-10-11 19:25:13 +08:00
parent 4f6c4c0724
commit aed83ea5e8
6 changed files with 32 additions and 49 deletions

View File

@@ -1,3 +1,4 @@
#include "skynet.h"
#include "skynet_server.h"
#include "skynet_imp.h"
#include "skynet_mq.h"
@@ -96,7 +97,7 @@ skynet_start(struct skynet_config * config) {
skynet_group_init();
skynet_harbor_init(config->harbor);
skynet_handle_init(config->harbor);
skynet_mq_init(config->mqueue_size);
skynet_mq_init();
skynet_module_init(config->module_path);
skynet_timer_init();